Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex Reg ex-查找没有特定字符的字符串_Regex_Textmate - Fatal编程技术网

Regex Reg ex-查找没有特定字符的字符串

Regex Reg ex-查找没有特定字符的字符串,regex,textmate,Regex,Textmate,使用正则表达式,如何搜索不包含cetrain字符的字符串 如果我在textmate中的目录中搜索字符串“flash/”,我希望排除结果“flash/navigation” 这可能吗?使用负向前瞻: /flash\/(?!navigation)/

使用正则表达式,如何搜索不包含cetrain字符的字符串

如果我在textmate中的目录中搜索字符串“flash/”,我希望排除结果“flash/navigation”


这可能吗?

使用负向前瞻:

/flash\/(?!navigation)/