How to negate the whole regex?
Posted
by 01
on Stack Overflow
See other posts from Stack Overflow
or by 01
Published on 2010-04-14T13:25:59Z
Indexed on
2010/04/14
14:13 UTC
Read the original article
Hit count: 1176
I have a regex, for example ([m]{2}|(t){1})
. It matches ma
and t
and doesn't match bla
.
I want to negate the regex, thus it must match bla
and not ma
and t
, by adding something to this regex. I know I can write bla
, the actual regex is however more complex.
© Stack Overflow or respective owner