UNPKG
@luband/jstools
Version:
latest (1.5.0)
1.5.0
1.1.4
1.1.3
1.1.0
1.0.0
前端工具包
@luband/jstools
/
regular
/
isMobilePhone.js
2 lines
(1 loc)
•
127 B
JavaScript
View Raw
1
2
function
t
(
t
){
return
/^(0|86|17951)?(1(3\d|4[5-9]|5[0-35-9]|6[2567]|7[0-8]|8\d|9[0-35-9])\d{8}$)/
.
test
(t)}
export
{t
as
default
};