Reputation: 331
I have a text file with about 4000 lines of text in it. I need to search for the words "there" and "when". Ive tried a few regex type of things but they all do it wrong or dont get detected at all. So how would I search for those 2 words and it would show ALL the matches for both words?
Thanks in advance!
Upvotes: 8
Views: 48454
Reputation: 4044
Use this regex
(there|when)
and make sure you enabled the "regular expression" radio button.
You can also use
there|when
if you don't need to use references for search&replace.
Upvotes: 23