I want an existing email regex to fail when entering a period (".") before the @.
This is the regex I have right now:
^[a-zA-Z]+[a-zA-Z0-9.]+@domain.com$
These should pass:
test.a@domain.com
a.test@domain.com
But these shouldn't:
.test@domain.com
test.@domain.com
The first case starting with period is handled but second case is not.