摘要:
$.validator.addMethod("isPhone", function(value,element) { var length = value.length; var mobile = /^1[3456789]\d{9}$/; return this.optional(element) 阅读全文
摘要:
PhoneUtils.java package com.common.util; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException 阅读全文