Search filenames only excluding extension

Discussion related to "Everything" 1.5 Alpha.
Post Reply
kiru
Posts: 1
Joined: Wed Aug 04, 2021 4:50 pm

Search filenames only excluding extension

Post by kiru »

Hello,
I have a requirement that i only need to search in filenames.
for e.g
abcmp4123.mp4
abc.mp4
mp4.mp4

for the above filenames, when i search mp4, i need to get only

abcmp4123.mp4
mp4.mp4

as the result.

Is it possible to do this? i have been experimenting with various options all this day, and in vain.
Can i get some help here please?
Regards,
Kiru...!
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search filenames only excluding extension

Post by therube »

Everything 1.5alpha has a "stem:" function.
So a search for,
stem:mp4

would find: testmp4.TXT & testmp4.mp4
but not, test.mp4.

The first two have the string, mp4, in the namepart (stem), the last only has it in the extension (not the namepart, so it is not found).

Everything 1.5 Alpha


(stem is a foreign word to me.)
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search filenames only excluding extension

Post by void »

another option for Everything 1.4:

regex:mp4.*\.

regex: = enable regular expressions
mp4 = match the literal string mp4
.* = match any character any number of times
\. = match a literal .
Post Reply