我有以下句子:Crazy Fredrick bought many very exquisite opal jewels.
我需要使用以下格式的正则表达式:
Crazy Fredrick bought many very exquisite opal jewels.".replace(/regex goes here/gi,"")
获得以下结果:Crazy bought very opal jewels.
那么我如何使用正则表达式来查询句子的那些特定部分呢?
答案 0 :(得分:0)
.replace(/(Fredrick|many|exquisite)/gi,"")