How to filter for <any char except blank>?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
pstein
Posts: 59
Joined: Thu Aug 07, 2014 6:18 pm

How to filter for <any char except blank>?

Post by pstein »

Assume I want to let Everything show all files with the pattern

aaa<any char except blank>bbb<blank>ccc

How can I achieve this?

I guess I must use a regular expression but how exactly?

"aaa.*bbb ccc"

does not work.

Peter
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: How to filter for <any char except blank>?

Post by ovg »

regex:"aaa[^ ]bbb ccc"
pstein
Posts: 59
Joined: Thu Aug 07, 2014 6:18 pm

Re: How to filter for <any char except blank>?

Post by pstein »

Ok, thank you. It works.

However originally I thought about a real letter as char which means NOT blank and NOT digit.

So a file name like "aaa9bbb ccc"

should be omitted as well.

How can I improve this reg exp to exclude digits as well?

I want to see only results with chars or special chars like ()#-! between "aaa" and "bbb"

Peter
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to filter for <any char except blank>?

Post by void »

regex:"aaa[^ 0-9a-z]bbb ccc"
Post Reply