In a previous question, I got the answer on a regular expression to accept all email addresses from a certain domain except two from the same domain.
e.g. :-
BAD:
test@testdomain.com
tes2@testdomain.com
GOOD:
notest@testdomain.com
test23@testdomain.com
Here is the regular expression from that answer:
^(?!test@|tes2@)[A-Za-z0-9._%+-]+@testdomain\.com$
However, for my application, I specifically need RE2 regex to be able to use this.
What is the steps I should take to convert this PCRE expression to RE2 type?