/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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); } }
URL: http://cairocafe.blogspot.com/2006/05/regex-validating-csv-email-addresses.html
Comments
