Is there a single expression that I can find both filenames with dashes and without such as:
410607.jpg
41-06-07.jpg
I tried 41*06*07 which doesn't work. Any recommendations?
search expression for 41-06-07 and 410607
-
- Posts: 4
- Joined: Fri Jul 25, 2014 1:30 am
Re: search expression for 41-06-07 and 410607
"410607|41-06-07" searches for either or ... is there a simpler string for searching for these filenames by chance? (I'm doing thousands of these searches over a week period).
Re: search expression for 41-06-07 and 410607
Try:
Wildcards must match the entire filename.
To disable this and allow 41*06*07 to match anywhere:
Code: Select all
*41*06*07*
To disable this and allow 41*06*07 to match anywhere:
- In Everything, from the Tools menu, click Options.
- Click the Search tab.
- Uncheck match whole filename when using wildcards.
Re: search expression for 41-06-07 and 410607
Show highlighted search terms, does not take effect with that search.
Oh, & it also returns filenames like: img20041006073421.jpg, so not exactly what the OP was looking for.
Wouldn't this do it?
Enable REGEX
Search: 41-?06-?07
The '?' saying to search for 1 or 0 of the '-' characters.
Note it would also find something like: 41-0607
I got the same results regardless.Uncheck match whole filename when using wildcards
Oh, & it also returns filenames like: img20041006073421.jpg, so not exactly what the OP was looking for.
Wouldn't this do it?
Enable REGEX
Search: 41-?06-?07
The '?' saying to search for 1 or 0 of the '-' characters.
Note it would also find something like: 41-0607
Re: search expression for 41-06-07 and 410607
Everything will only show highlighted search terms for simple wildcard searches.
Yes, Regex will work better, with regex disabled in the search menu, search for:
Yes, Regex will work better, with regex disabled in the search menu, search for:
Code: Select all
regex:41-?06-?07
-
- Posts: 4
- Joined: Fri Jul 25, 2014 1:30 am
Re: search expression for 41-06-07 and 410607
Thanks for the help! *41*06*07* was the simple solution I was looking for. Thanks for the support and for keeping this great software in development!