Someone willing to help with a wild card search?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
gggirlgeek
Posts: 52
Joined: Tue Dec 28, 2010 4:54 pm

Someone willing to help with a wild card search?

Post by gggirlgeek »

Example files:
1. A J Menden - Sorceress, Interrupted (epub).rar
2. A J Menden - Sorceress, Interrupted (pdf).rar
3. A B Guthrie - Fair Land Fair Land (html, epub, pdf).rar

I am trying to find only files that have commas inside the parenthesis, like #3 above.

With "Allow round bracket parenthesis" enabled I tried (*,*,*) and (*,*) but I still get files with commas anywhere in the name, like #1 and #2.

Reg Expression enabled doesn't produce any results at all, for any searches.

Any kind souls know the answer? Thanks in advance!

_________________
Everything v1.3.1.636b
Last edited by gggirlgeek on Mon Feb 25, 2013 12:38 pm, edited 1 time in total.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Someone willing to help with a wild card search?

Post by void »

One or more commas with Regex disabled:

Code: Select all

*(*,*)*
-or-

One or more commas with "Allow round bracket parenthesis" enabled and Regex disabled:

Code: Select all

*"("*,*")"*
Please note "Allow round bracket parenthesis" only effects boolean operators.
gggirlgeek
Posts: 52
Joined: Tue Dec 28, 2010 4:54 pm

Re: Someone willing to help with a wild card search?

Post by gggirlgeek »

I got the same result -- any files with commas and parenthesis anywhere in the name. I need to eliminate the files without commas inside the parenthesis.

Alternately, is there another way to do this?

Among 1000's of files I am trying to find .rar archives that contain multiple formats inside. All of the filenames are formatted the same -- either (epub) or (pdf, html, epub, mobie). However the formats are listed in no particular order (so searching for epub, does not match (pdf, mobi, epub) for example. Windows won't do it either.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Someone willing to help with a wild card search?

Post by void »

Code: Select all

*(*,*)*

Should work.

Please make sure you have Allow round bracket parenthesis disabled.

To find epub inside () use:

Code: Select all

*(*epub*)*
gggirlgeek
Posts: 52
Joined: Tue Dec 28, 2010 4:54 pm

Re: Someone willing to help with a wild card search?

Post by gggirlgeek »

I need any text before a comma. That search above doesn't match pdf, or mobi, or even ", epub)". I already did one batch by searching for each format individually using, for example

Code: Select all

( pdf,
However, that required 12 separate searches. That's a lot of extra work. I may just give up since it's not life altering to have the files. :-) I know there's a way to do it with regex but I'm not good with it unfortunately. I do appreciate your help.
Last edited by gggirlgeek on Tue Feb 26, 2013 11:23 am, edited 1 time in total.
gggirlgeek
Posts: 52
Joined: Tue Dec 28, 2010 4:54 pm

Re: Someone willing to help with a wild card search?

Post by gggirlgeek »

Actually I think I've figured out another strategy.

I can deal with the single-format archives first, then move them to a new folder. Once they're out of the way, what's left will be the archives with multiple formats. I can deal with them in 1 step instead of 12.

So I can search for simply (epub) and it won't include the mixed-archive files. I was already doing this step, but I was trying to do it second. Doing it first will save a lot of work.

I guess this didn't occur to me because I was originally using Windows search. "Everything" allows me to be much more specific. Yet another kudos! for Everything. 8-)
mwsm
Posts: 21
Joined: Thu Feb 28, 2013 2:01 am

Re: Someone willing to help with a wild card search?

Post by mwsm »

If you're still looking for a solution, this regex should work:

Code: Select all

regex:\([^,)]+,[^)]+\)
which, if you're curious about regular expressions, means:

Code: Select all

\(   - left parens (escaped for regex)
[^,)]+   - one or more of any character except comma or right parens
,   - a comma
[^)]+   - one or more of any character except right parens
\)   - right parens
In 1.3.1.636b this finds your example #3 but excludes #1 and #2.
Post Reply