look for files without a - after the first space

General discussion related to "Everything".
Post Reply
tordenflesk
Posts: 2
Joined: Fri May 22, 2020 8:57 pm

look for files without a - after the first space

Post by tordenflesk » Fri May 22, 2020 9:04 pm

How do I look for files without a - after the first space in the file name?

froggie
Posts: 157
Joined: Wed Jun 12, 2013 10:43 pm

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

Post by froggie » Fri May 22, 2020 9:32 pm

Code: Select all

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

Sorry, posted wrong version. Revised. Re-revised.
Last edited by froggie on Sat May 23, 2020 11:58 pm, edited 2 times in total.

tordenflesk
Posts: 2
Joined: Fri May 22, 2020 8:57 pm

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

Post by tordenflesk » Fri May 22, 2020 10:34 pm

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.

RegexNinja
Posts: 11
Joined: Sat Apr 11, 2020 2:45 pm
Location: OrionCygnusArm, MilkyWay

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

Post by RegexNinja » Fri May 22, 2020 10:37 pm

Hi, here's a stricter version that wont rely on filenames having only 1-space
regex:"^[^ ]* [^-]"

Post Reply