/// /// 验证邮箱 /// /// /// public static bool IsEmail ( string source ) { return Regex.IsMatch ( source, @"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$", RegexOptions.IgnoreCase ); }
by: 发表于:2018-01-15 09:55:06 顶(0) | 踩(0) 回复
??
by: 发表于:2018-01-15 09:55:06 顶(0) | 踩(0) 回复
??
回复评论