in reply to Re: regular expressions with !in thread regular expressions with !
or
... if ($test_string !~ /$regex/) { ... } ... [download]
Perl operators and their precedence