using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ant.Service.Common { /// /// 关于正则验证信息类 /// public class NormalRegexType { /// /// 正则验证帐号和密码的模式字符串(字母开头,允许5-16字节,允许字母数字下划线) /// public static string IsNumberOrPasswordPattern = @"^[a-zA-Z][a-zA-Z0-9_]{4,15}$ "; /// /// 正则验证Email的模式字符串 /// public static string IsEmailPattern = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* "; } }