脚踏祥云

导航

2018年9月4日

邮箱验证方法

摘要: public static bool IsEmailFormat( this string item) { var pattern = @"^(\w)+(\.\w+)*(\-\w+)*@(\w)+((\.\w+)+)$"; return Regex.IsMatch(item, pattern); } 阅读全文

posted @ 2018-09-04 11:51 脚踏祥云 阅读(246) 评论(0) 推荐(0) 编辑