Newbie question (searching for two names in a file/dirname)
Moderators: Hacker, petermad, Stefan2, white
Newbie question (searching for two names in a file/dirname)
I am getting frantic! How can i search for ex. two words that are present in a file/dirname?
Searching for Britney Spears doesn't come up with any results instead i have to search for Britney only. Do i have to use a comma or something?
And the helpfile in TC doesn't explain it in detail at all.
Newbie sorry!
Worse yet, if the dirname for ex. contains underscores between the names and such it makes it even harder...
Thanks in advance!
Searching for Britney Spears doesn't come up with any results instead i have to search for Britney only. Do i have to use a comma or something?
And the helpfile in TC doesn't explain it in detail at all.
Newbie sorry!
Worse yet, if the dirname for ex. contains underscores between the names and such it makes it even harder...
Thanks in advance!
W/o regex:
To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.
Same using regex ('regex' checkbox must be checked):
To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.
Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.
Same using regex ('regex' checkbox must be checked):
To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.
Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
Very thanks! You helped me alot!MVV wrote:W/o regex:
To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.
Same using regex ('regex' checkbox must be checked):
To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.
Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
- GammelBert
- Member
- Posts: 109
- Joined: 2007-02-21, 18:42 UTC
- Location: Germany
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Google Search: "britney spears" "total commander"
About 70,700 results (0.14 seconds)
But we're number one!
About 70,700 results (0.14 seconds)
But we're number one!
I have a somewhat related question.
Is there a simple way to search the contents of files through the "Find Files" dialog for several keywords simultaneously? I found no AND operator or similar in the documentation. And I don't think it can be done using a regexp query either.
For example I would fill the Find Files dialog like this:
Search for: *
[x] Find text: Britney AND Spears
And I would expect it to return a list of files that contain BOTH words "Britney" and "Spears" anywhere in the file text regardless of order.
How do I achieve that?
Is there a simple way to search the contents of files through the "Find Files" dialog for several keywords simultaneously? I found no AND operator or similar in the documentation. And I don't think it can be done using a regexp query either.
For example I would fill the Find Files dialog like this:
Search for: *
[x] Find text: Britney AND Spears
And I would expect it to return a list of files that contain BOTH words "Britney" and "Spears" anywhere in the file text regardless of order.
How do I achieve that?