标签:ret sem bool str 邮箱验证 turn static this for
public static bool IsEmailFormat(
this string item)
{
var pattern = @"^(\w)+(\.\w+)*(\-\w+)*@(\w)+((\.\w+)+)$";
return Regex.IsMatch(item, pattern);
}
标签:ret sem bool str 邮箱验证 turn static this for
原文地址:https://www.cnblogs.com/piaoyun/p/9583588.html