public static bool IsEmail(string email)
{
String strExp = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*";
Regex r = new Regex(strExp);
Match m = r.Match(email);
return m.Success;
}
public static bool IsEmail(string email)
{
String strExp = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*";
Regex r = new Regex(strExp);
Match m = r.Match(email);
return m.Success;
}