how to negate 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 13:33 UTC
Read the original article Hit count: 1109

Filed under:
|
|

I have regex (for example) ([m]{2}|(t){1})

and it matches ma and t and doesnt match bla

I want it to match bla and doesnt match ma and t

by adding something to this regex, i know i can write bla, my real-life regex is more complex.

© Stack Overflow or respective owner

Related posts about java

Related posts about regex