我想使用 Notepad++ 中的“在当前文档中查找全部”按钮来查找单词列表的所有实例。是否可以使用正则表达式来做到这一点?
例如,如果单词列表是
Foo,man,choo
并且记事本++中的文件包含
01 The quick brown fox jumps over the lazy dog
02 The quick brown fox jumps over the lazy dog
03 The quick brown man jumps over the lazy dog
04 The quick brown fox jumps over the lazy dog
05 The quick brown fox jumps over the lazy dog
06 The quick brown foo jumps over the lazy dog
07 The quick brown fox jumps over the lazy dog
08 The quick brown fox jumps over the lazy dog
09 The quick brown choo jumps over the lazy dog
10 The quick brown fox jumps over the lazy dog
查找结果中将返回第 3,6 和 9 行。