/ Published in: C#

finds all of the alid email addresses in a string
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//using System.RegularExpressions MatchCollection EmailMatches = Regex.Matches(txtEmailAddress.Text,"([\\w-+\\.]+)@((?:[\\w]+\\.)+)([a-zA-Z]{2,4})",RegexOptions.Multiline); Response.Write(EmailMatches.Count);
URL: http://snipplr.com/login/
Comments
