請幫忙,如果其中存在某個單詞,如何排除字符串的存在。例子: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 關注
- 158 瀏覽
添加回答
舉報
0/150
提交
取消