Please help me on this.

Tool for Search and Replace across multiple files.
Post Reply
mamister
Posts: 1
Joined: Thu Dec 26, 2013 3:59 am

Please help me on this.

Post 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.
User avatar
DigitalVolcano
Site Admin
Posts: 1734
Joined: Thu Jun 09, 2011 10:04 am

Re: Please help me on this.

Post 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.
Post Reply