Hi everyone! Is there any way to convert the particular regular expression in opposite one? For example, if I have "A\\d", it matches A1, A2... Now, I want it to matches everything, but NOT A1, A2 ... How to do this?
Hi everyone! Is there any way to convert the particular regular expression in opposite one? For example, if I have "A\\d", it matches A1, A2... Now, I want it to matches everything, but NOT A1, A2 ... How to do this?
It seems that it can be done just by including the negative lookahead assertion: (?!A\\d)
Bookmarks