in reply to Re^4: how to find what's not there with a regex?
in thread how to find what's not there with a regex?

It's the zero-width negative lookahead operator. In English, it means "not immediately followed by", and it doesn't move pos, so the next item in the regexp will start matching as if the (?!...) wasn't there.

It's almost always used as
(?: (?! ...regexp... ) .)*
or
(?: (?! ...regexp... ) .)+
Anything else is should be very carefully inspected.