Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool IsValidEmail(string strEmail)
- {
- Regex regex = new Regex(@"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*", RegexOptions.Singleline | RegexOptions.IgnoreCase);
- return regex.IsMatch(strEmail);
- }
Advertisement
Add Comment
Please, Sign In to add comment