Are there wildcards that will return numbers only

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
grumpygramp
Posts: 3
Joined: Fri Jul 01, 2022 10:08 pm

Are there wildcards that will return numbers only

Post by grumpygramp »

Hi,

Are there wildcards that will return numbers only?

I'm trying to search for all my TV shows in a particular folder/disk using wildcard but using S**E** also brings back non TV shows like Svengoolie. I'm trying to find files that have the standard season/episode abbreviation like S01E05, S11E23.

Thanks in advance.
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Are there wildcards that will return numbers only

Post by void »

Wildcards, no.

Regex, yes.

To match numbers only, please try the regex: modifier with \d to match a digit (0-9).

For example:

regex:s\d\de\d\d

The following also works, which is a little easier to read:

regex:s[0-9][0-9]e[0-9][0-9]
grumpygramp
Posts: 3
Joined: Fri Jul 01, 2022 10:08 pm

Re: Are there wildcards that will return numbers only

Post by grumpygramp »

Thanks for the quick reply. I got it to work using regex:s[0-9][0-9]e[0-9][0-9].

Can you please explain to me how to use content wildcards in version 1.5? I don't understand the instructions.

wildcard:
wildcards:
no-wildcard:
no-wildcards:

Enable or disable content wildcards.
Enabling overrides filename wildcards. (filename wildcards support only * and ? )

* = Matches any character zero or more times.
? = Matches any single character (including / or \).
# = Matches any single digit (0-9).
[ ] = Matches any one of the characters specified in the set.
[! ] = Matches any one character that is not specified in the set.
\ = Escape the following character. (treat the following character as literal)

Default: Disable content wildcards and use filename wildcards.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Are there wildcards that will return numbers only

Post by raccoon »

Try wrapping your entire expression with * wildcards, and use # for the number digits. Like so:

wildcards:*s##e##*

For the rare occasion that you have more or fewer than two digits for 'season' and 'episode', you will have to use regex again. This pattern allows for a variable number of numeric digits.

regex:s\d+e\d+
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Are there wildcards that will return numbers only

Post by void »

Content wildcards and filename wildcards are different.
Content wildcards support # (match a digit) and [a-z] sets.
You must use the wildcards: search modifier to enable content wildcards.
If wildcards: is not specified, Everything will use * and ? wildcards on filenames.


Wildcards in Everything 1.5



wildcards will match the whole filename.

To match wildcard filters anywhere in the filename:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Uncheck Match whole filename when using wildcards.
  • Click OK.
grumpygramp
Posts: 3
Joined: Fri Jul 01, 2022 10:08 pm

Re: Are there wildcards that will return numbers only

Post by grumpygramp »

@raccoon, @void
Thank you both for your help.
Post Reply