正则匹配包含某个字符串

不包含某个单词,比如hello

(?!hello)

相对的包含某个单词

(?=hello)

原文地址:https://www.cnblogs.com/team42/p/7227865.html