正则表达式: 找出不含(排除)某个字符串的全部

Match string not containing string Given a list of strings (words or other characters), only return the strings that do not match.正则表达式 以正则表达式 ^((?!badword).)*$ 搜索如下内容将会获得除一、4行之外的全部内容。此表达式对于log搜索比较有用。
相关文章
相关标签/搜索