I've the following email pattern:
(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)
Now I have two questions:
Additionally I don't want to allow double dashes e.g.:
not allowed: john--doe@x--x.c--om
What do you think about the pattern, could it be simplified or does it have some mistakes or uncovered strings?