js使用正则表达式判断是否为手机号码
public static boolean isMobileNO(String mobile) {
Pattern p = Pattern
.compile("^((13[0-9])|(15[^4,\D])|(18[0-9]))\d{8}$");
Matcher m = p.matcher(mobile);
return m.matches();
}
js使用正则表达式判断是否为手机号码
public static boolean isMobileNO(String mobile) {
Pattern p = Pattern
.compile("^((13[0-9])|(15[^4,\D])|(18[0-9]))\d{8}$");
Matcher m = p.matcher(mobile);
return m.matches();
}
JS实现问卷星自动填问卷脚本并在两秒自动提交功能
Aug 30, 2017
javascript将选中值累加到文本框的方法
Aug 18, 2016
javascript文本框宽根据输入文本宽度改变
Feb 13, 2017
基于php中echo用逗号和用点号的区别详解
Mar 21, 2018