Page 1 of 1

Please help me on this.

Posted: Thu Dec 26, 2013 4:02 am
by mamister
Hi, I have many files and I do regular searching.

I have no problem finding using 1 key words but when wanted to find 2 key words in a file I am lost.

Example finding Food is easy, but finding Food and 2013 is not possible?

Please advice.

Thanks.

Re: Please help me on this.

Posted: Thu Jan 02, 2014 10:50 am
by DigitalVolcano
You could do this using a regular expression -

\bfood\b.*\b2014\b|\b2013\b.*\bfood\b

with (Dot maches newline option ticked)

This will find food and 2014 in any order in the file. Don't use this as a regex replace expression though, as you will lose the text between the keywords.