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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -