in reply to "everything but" regex
the brackets match character classes i.e. a one of match you want something like
!/mystring/
This will reject any input string with the text 'mystring' in it.
Yours would find any text which had no (,),m,y,s,t,r,i,n,g characters in it at all.
|
|---|