{ required: [/[\S]+/,'必填项不能为空'], int: [/^\d+$/,'请输入整数'], email: [/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,'邮箱格式不正确'], phone: [/^1\d{10}$/,'请输入正确的手机号'], date: [/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,'日期格式不正确'], identity: [/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,'请输入正确的身份证号'], url: [/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,'链接格式不正确'], approve: [/(^[0-9]{15}$)|(^([0-9]|[A]|[B]|[C]|[D]|[E]|[F]|[G]|[H]|[J]|[K]|[L]|[M]|[N]|[P]|[Q]|[R]|[T]|[U]|[W]|[X]|[Y]){18}$)/,'请输入15位数字证号或是统一社会信用代码'] }