0

How would I write a Java regular expression that matches everything except the following string?

[email protected]

([email protected]) doesn't work.

Melanie
  • 1
  • 1

1 Answers1

0

Just a simple change of your regex:

([email protected]).*

it works.

Alchemist
  • 1
  • 1