To match all characters except vowels, we can use [^aeiou]
.
I wonder
how to match all strings other than a particular one? For example, I want to match a string which is not
dog
. Socat
,sky
, andmike
will all be matches.how to match all strings other than a few strings, or other than a regular expression? For example, I want to match a string which is not
c.t
. Sosky
andmike
will all be matches, butcat
andcut
will not be matches.
Thanks.