javascript - regular expression to validate one semicolon in front of an email -
I just have to get an example of a semicolon in front of a single email address. As below:
; Myemail@somedomain.com
regex should not match:
; Myemail @ somedomain.com; Mysecondemail@somedomain.com
How do I cope with this method in regular expressions? Any help would be appreciated.
^; Use regex like \ w + @ \ w +
<. .com $
See how regex works on
Comments
Post a Comment