Page 1 of 1

searching multiple words

Posted: Thu Aug 17, 2017 2:10 pm
by FredSmith
Hi all,
I'd like search for multiple words.
So if I have 3 files:
File1
One

File2
One
...
Two

File3
One
...
Two
Three

And would like to search for files containing 'One' AND 'Two' AND 'Three'
I'd like TextCrawler to return File3 only.

I've tried using RegEx One|Two|Three but that returned all the file.
I'm interested in the fily that contains all the words that I'm searching for.
Any suggestions?
Thank you.

Re: searching multiple words

Posted: Sun Aug 20, 2017 7:19 pm
by DigitalVolcano
It's tricky to do this with regular expressions. You can try-

one.*two.*three.*
(With dot matches newline enabled)

but the words need to be in that order in the file.

Re: searching multiple words

Posted: Fri Jan 12, 2018 5:58 pm
by fabian
Hi I have the same need as this post. I tried what I found here, but didn't work.
I need to find files that have text1 AND text2

how can I use AND in searchs?

Re: searching multiple words

Posted: Thu Jan 25, 2018 10:39 am
by DigitalVolcano
Version 3.1.1 will have a feature to allow the batch processor to run in "AND" mode. This means that only files where all the search terms are hit will be displayed/updated.