Regex match word only if it does not follow another word

前端 未结 0 1931
野性不改
野性不改 2020-12-18 08:58

Using Regex, how can I match a word only if it does not follow another word?

e.g.
I want to match the word "dog" if the word "cat" does not

相关标签:
回答
  • 消灭零回复
提交回复
热议问题