正则表达式判断邮箱

public static class StringExt

{

public static  bool IsEmail(this string obj)

{

   return  Regex.IsMatch(obj,@"^w+@w+.w+$");

}

}

原文地址:https://www.cnblogs.com/haimingkaifa/p/5732716.html