How may I search for files that have dashes without spaces before or after?

General discussion related to "Everything".
Post Reply
rfsux
Posts: 2
Joined: Sun Jul 14, 2019 5:00 am

How may I search for files that have dashes without spaces before or after?

Post by rfsux »

Hello Everything support team,

I want files that look like:
picture-ant-bug
picture-ant-cat
picture-bat-cap

But not files that look like:
John - composition a
John - composition b
Tim - instrumental

Thank you to your programming knowledge and helpful software.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: How may I search for files that have dashes without spaces before or after?

Post by void »

Please try the following search:
- !" - "

- = search for a literal -
! = NOT

Use quotes to escape spaces.

!" - " = NOT <space> - <space>
rfsux
Posts: 2
Joined: Sun Jul 14, 2019 5:00 am

Re: How may I search for files that have dashes without spaces before or after?

Post by rfsux »

Solved! That worked.

You are brilliant. Your reply was only minutes later. I assumed wrongly that I should check back tomorrow, sorry about that.
Post Reply