search expression for 41-06-07 and 410607

General discussion related to "Everything".
Post Reply
blasthouse
Posts: 4
Joined: Fri Jul 25, 2014 1:30 am

search expression for 41-06-07 and 410607

Post by blasthouse » Fri Jul 25, 2014 1:36 am

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?

blasthouse
Posts: 4
Joined: Fri Jul 25, 2014 1:30 am

Re: search expression for 41-06-07 and 410607

Post by blasthouse » Fri Jul 25, 2014 4:56 am

"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).

void
Site Admin
Posts: 5071
Joined: Fri Oct 16, 2009 11:31 pm

Re: search expression for 41-06-07 and 410607

Post by void » Fri Jul 25, 2014 6:06 am

Try:

Code: Select all

*41*06*07*
Wildcards must match the entire filename.

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.
Note: requires Everything 1.3 beta.

therube
Posts: 2404
Joined: Thu Sep 03, 2009 6:48 pm

Re: search expression for 41-06-07 and 410607

Post by therube » Fri Jul 25, 2014 10:44 am

Show highlighted search terms, does not take effect with that search.

Uncheck match whole filename when using wildcards
I got the same results regardless.

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

void
Site Admin
Posts: 5071
Joined: Fri Oct 16, 2009 11:31 pm

Re: search expression for 41-06-07 and 410607

Post by void » Fri Jul 25, 2014 11:09 am

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:

Code: Select all

regex:41-?06-?07

blasthouse
Posts: 4
Joined: Fri Jul 25, 2014 1:30 am

Re: search expression for 41-06-07 and 410607

Post by blasthouse » Sat Jul 26, 2014 5:40 am

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! :)

Post Reply