/ Published in: C#
URL: http://cairocafe.blogspot.com/2006/05/regex-validating-csv-email-addresses.html
Expand |
Embed | Plain Text
MatchCollection matches = matchRegex.Matches("zako@hotmail.com, weko2@yhaoo.com,kareem@gmail.com"); if ( matches.Count > 0) { for ( int i = 0; i <> { // You can process the email matched // for example you can check if it's a real email address or not. // by pinging the mail provider. ProcessEmailAddress(matches[i].Value); } }
You need to login to post a comment.
