Page 1 of 1

look for files without a - after the first space

Posted: Fri May 22, 2020 9:04 pm
by tordenflesk
How do I look for files without a - after the first space in the file name?

Re: look for files without a - after the first space

Posted: Fri May 22, 2020 9:32 pm
by froggie

Code: Select all

regex:"^[^ ]* [^-]"
assuming just a single space

Sorry, posted wrong version. Revised. Re-revised.

Re: look for files without a - after the first space

Posted: Fri May 22, 2020 10:34 pm
by tordenflesk
Doesn't seem to work as I wanted it to.
https://i.imgur.com/ZRt0qRr.png
Maybe I should try to be a little more specific:
I'm trying to locate audio files that don't have " - " after the first word/number.

Re: look for files without a - after the first space

Posted: Fri May 22, 2020 10:37 pm
by RegexNinja
Hi, here's a stricter version that wont rely on filenames having only 1-space
regex:"^[^ ]* [^-]"