See here for regular expression syntax in Qt:

The key here is the "negative look-ahead"...

Also, I could just add a switch to negate the pattern match, regardless of the pattern syntax (so include what's matched / not matched).

I'll get back to this soon.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]