asp.net - Help with a regular expression to validate a series of n email addresses seperated by semicolons -


I am using an asp.net web form RegularExpressionValidator to ensure a text Control to validate the area in it is a series of different email addresses by semicolons.

What is the proper regex for this task?

I think this will do one thing:

 ^ ([A- Za-J 0-9 ._% + -] + @ [AZA-J 0-9 .-] + \ [A-Za-z] {2,4} (| $ $)) + 

Be sure that you are using case-insensitive matching In addition, this pattern does not allow white space between the email or the beginning or end of the string.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -