请帮忙,如果其中存在某个单词,如何排除字符串的存在。例子:any text here my text any text word wrong any text
any text here my text any text true any text
any text here my text any text wrong any text此正则表达式标记所有行 ( https://regex101.com/r/rrgEp6/1 ):here([a-z, ]{0,70})((?:(?! word))) (wrong|true)在这种情况下需要排除单词 - “单词”:any text here my text any text true any text
any text here my text any text wrong any text
- 2 回答
- 0 关注
- 166 浏览
添加回答
举报
0/150
提交
取消