[help] search for files with digits only no letters in the name

Discussion related to "Everything" 1.5 Alpha.
Post Reply
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

[help] search for files with digits only no letters in the name

Post by asamirid »

Hello..

i wanna search for mp3 files that has no letters in it's filenames.

it has only digits, dashes, and underscores ..

examples

20140708_232704.mp3
20130825-112235.mp3

how can i do that ..

thank you
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: [help] search for files with digits only no letters in the name

Post by NotNull »

Simple (all characters allowed minus a-z ):

Code: Select all

ext:mp3   regex:stem:^[^a-z]*$
More accurate (only digits, dashes and underscore allowed):

Code: Select all

ext:mp3   regex:stem:^[0-9\-_]*$
Even more accurate (only digits, dashes and underscore allowed and contains at least one digit):

Code: Select all

ext:mp3   regex:[0-9]   regex:stem:^[0-9\-_]*$
Post Reply