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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -