How to Search, ignoring punctuation & Spaces?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Flourgrader
Posts: 85
Joined: Fri May 28, 2021 7:55 am

How to Search, ignoring punctuation & Spaces?

Post by Flourgrader »

Hi All,
I have got myself into a big muddle here.
And think I may have probably got the wrong filter options on or off?
And now I can't see the wood for the trees! :roll:

I am using Everything 1.5 ver 1296a(64)
I am sorting through a very messy labelled record collection
31,000 songs.
I want to ignore in the search all punctuation: ( _ } ( )-$ £ @) and so on,
and ignore all empty spaces.
So as an example, I would like to see the file name search for Deep Purple to be returned in a listing whether it had any punctuation in it or spaces. Like in the below example.

Deep_Purple
Deep()Purple
Deep-Purple
Deeppurple

I have tried using the filters !PUNC !SPACE
And looked at the advanced search, which I left empty.
Thanks.
Attachments
Advanced_Search.jpg
Advanced_Search.jpg (53.08 KiB) Viewed 1606 times
Menu_Choice.jpg
Menu_Choice.jpg (28.17 KiB) Viewed 1606 times
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: How to Search, ignoring punctuation & Spaces?

Post by raccoon »

With the option "Ignore Punctuation" enabled, type the search term:

deeppurple

Otherwise, if you turn off "Ignore Punctuation" and just type:

deep purple

it will also locate matches for "Deep Purple", "Deep.Purple", "Deep_Purple"... but also "Deep Blue Purple" and "Purple Deep".

*deep?purple*

will also work, using wildcard matching convention for the * and ? characters.

regex:"deep.purple"

works the same way as above where the . character matches "any single character" like the ? wildcard does.
Flourgrader
Posts: 85
Joined: Fri May 28, 2021 7:55 am

Re: How to Search, ignoring punctuation & Spaces?

Post by Flourgrader »

Thanks racoon,
Yes it finds your example "DeepPurple"

I all ready had "Ignore Punctuation" option picked.
see my screen shot.
the search returns nothing if I enter these searches
Deep_Purple
Deep()Purple
Deep-Purple

could I have picked another option that has cancelled out
the "Ignore Punctuation" ?
Thanks.
Flourgrader
Posts: 85
Joined: Fri May 28, 2021 7:55 am

Re: How to Search, ignoring punctuation & Spaces?

Post by Flourgrader »

Sorry Raccoon.
Ignore what I wrote.
It's my bad.
Like I said " I got my brain muddled.
it is sorted now.
Thanks anyway.
Post Reply