正则匹配包含某个字符串

不包含某个单词,比如hello

(?!hello)

相对的包含某个单词

(?=hello)

posted @ 2017-07-24 11:05  雪浪snowWave  阅读(43858)  评论(0)    收藏  举报