Is there a regular expression to find one of several words in Notepad++

Viewed 20826

I would like to use the "Find All in Current Document" button within Notepad++ to find all instances of a list of words. Is it possible to do this with a regular expression?

For example, if the list of words was

Foo,man,choo

and the file in notepad++ contained

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

Lines 3,6 and 9 would be returned in the find results.

3 Answers
Related