Search multiple words
Moderators: Hacker, petermad, Stefan2, white
Search multiple words
Hello
I'm looking for a way to find all files that matches all the search terms like an AND relation in google.
something like:
firstword AND secondword AND thirdword
Those words can be anywhere in the document. Maybe firstword is at the beginning of the document, the secondword at the end of the document and thirdword in the middle of a sentence like thisisthethirdwordinthesentence
I tried almost any possible regular expression but it doesn't work for me. I found a good search tool called inforapid.com but I would like to do this in total commander.
Can anyone help?
Thank you
JohnQM
I'm looking for a way to find all files that matches all the search terms like an AND relation in google.
something like:
firstword AND secondword AND thirdword
Those words can be anywhere in the document. Maybe firstword is at the beginning of the document, the secondword at the end of the document and thirdword in the middle of a sentence like thisisthethirdwordinthesentence
I tried almost any possible regular expression but it doesn't work for me. I found a good search tool called inforapid.com but I would like to do this in total commander.
Can anyone help?
Thank you
JohnQM
I don't think regular expressions can help you here cause as author says in Help file on regular expressions:
Quote:
(...) the program only supports searching within one line
That's a pitty
Personally, I would like such a feature in a future release, but it's to me to decide about upcoming features.
Do any one know about a tool which can do this job and also look in RAR, ZIP, ... files?
Thanks
JohnQM
Quote:
(...) the program only supports searching within one line
That's a pitty

Personally, I would like such a feature in a future release, but it's to me to decide about upcoming features.
Do any one know about a tool which can do this job and also look in RAR, ZIP, ... files?
Thanks
JohnQM
-
- Junior Member
- Posts: 13
- Joined: 2003-05-12, 13:58 UTC
Perhaps Agent Ransack? You can find this freeware software on:
http://www.mythicsoft.com/agentransack/pageloader.aspx?page=home
There is also a shareware version named File Locator Pro wich search on archives...
http://www.mythicsoft.com/agentransack/pageloader.aspx?page=home
There is also a shareware version named File Locator Pro wich search on archives...
Thanks for your suggestion.
I have downloaded "Agent Ransack" and his big brother filelocator pro which can find files in compressed files like zip, rar, ....
Unfortunately those tools are line searchers and therefore will find lines that match a given criteria. Each line is searched independently of other lines. Same for total commander.
For the moment, the best tool I have found is inforapid which can be found at http://www.inforapid.de/html/english.htm
Any suggestion is very welcome.
Thanks
JohnQM
I have downloaded "Agent Ransack" and his big brother filelocator pro which can find files in compressed files like zip, rar, ....
Unfortunately those tools are line searchers and therefore will find lines that match a given criteria. Each line is searched independently of other lines. Same for total commander.
For the moment, the best tool I have found is inforapid which can be found at http://www.inforapid.de/html/english.htm
Any suggestion is very welcome.
Thanks
JohnQM
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
It would take some work, but you could write a Python script to do it.
You could try this: http://www.download.com/Useful-File-Utilities/3000-2248_4-10313335.html
or this: http://www.funduc.com/search_replace.htm
Both imply that you can search over multiple lines.
You could try this: http://www.download.com/Useful-File-Utilities/3000-2248_4-10313335.html
or this: http://www.funduc.com/search_replace.htm
Both imply that you can search over multiple lines.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Search for the first word.
Feed to listbox.
[Ctrl]+[NUM+] for selecting all.
Search for the second word and check 'only search in seleced directories/files'
Feed to Listbox.
[Ctrl]+[NUM+] for selecting all.
Search for the last word and check 'only search in seleced directories/files'
feed to listbox and you've got the result.
That way you get your 'AND' search. As workaround, of course.
sheepdog
Feed to listbox.
[Ctrl]+[NUM+] for selecting all.
Search for the second word and check 'only search in seleced directories/files'
Feed to Listbox.
[Ctrl]+[NUM+] for selecting all.
Search for the last word and check 'only search in seleced directories/files'
feed to listbox and you've got the result.
That way you get your 'AND' search. As workaround, of course.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Since you just placed a feature request it IS actually your job to "decide" about upcoming features.JohnQM3 wrote:Personally, I would like such a feature in a future release, but it's to me to decide about upcoming features.

Welcome to the forum by the way!

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Try
http://www.funduc.com/search_replace.htm
or
http://www.powergrep.com
These are not free, but there are trial versions of both programs.
I guess there has to be similar freeware program
http://www.funduc.com/search_replace.htm
or
http://www.powergrep.com
These are not free, but there are trial versions of both programs.
I guess there has to be similar freeware program
