function ChMobilePhone(num)
{
if(/^13\d{9}$/g.test(src)||(/^15[8,9]\d{8}$/g.test(num))){
return true;
}else{
return false;
}
}
js 手机验证
最新推荐文章于 2022-12-30 11:06:12 发布
function ChMobilePhone(num)
{
if(/^13\d{9}$/g.test(src)||(/^15[8,9]\d{8}$/g.test(num))){
return true;
}else{
return false;
}
}