正则匹配不包含某个字符且包含某个字符的字符串 wangwei3 · 2011-11-10 12:16 · 正则 · 互联网 · Markdown (^(?=(.(?!iask))+$)(?=.*(\.html))) 此正则大致意思是:匹配不包含iask且包含html的字符串