【发布时间】:2016-10-06 11:54:54
【问题描述】:
如何使用/不使用正则表达式来查找目录中包含两个或三个单词的所有文件,例如我想搜索 apple 和 ornages 我试过这个:
in the Find what -> apple.*oranges
也使用正则表达式
in the Find what -> ^(apple & oranges) also ^(apple && oranges)
但无法找到任何文件,尽管有包含两者的文件。 OR 规则也不起作用。
Here is an example on Notepad++ ,
tried both apple.*oranges as well as ^(apple && oranges)
【问题讨论】:
-
你需要
apple.*oranges作为regex,但你说它不起作用。奇怪。 -
(?=apple)(?=oranges)可能有效
标签: regex string search find textpad