function isPoneAvailable(poneInput) {
var myreg = /^[1][1,3,2,4,5,7,8,9][0-9]{9}$/;
if (!myreg.test(poneInput)) {
return false;
} else {
return true;
}
}
js电话正则表达式封装。(通用)
猜你喜欢
转载自blog.csdn.net/weixin_42164539/article/details/87966338
今日推荐
周排行