Page 1 of 1

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

Posted: Sun Jul 14, 2019 5:11 am
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.

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

Posted: Sun Jul 14, 2019 5:23 am
by void
Please try the following search:
- !" - "

- = search for a literal -
! = NOT

Use quotes to escape spaces.

!" - " = NOT <space> - <space>

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

Posted: Sun Jul 14, 2019 6:32 am
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.