function chMobilePhone(src) {      if(/^13\d{9}$/g.test(src)||(/^15[8,9]\d{8}$/g.test(src))){          return true;     }else{         return false;    } }
  • 17:05
  • 浏览 (377)
  • 评论 (0)
  • 分类: js
  function   isIP(str){     var   ip   =   /^([1-9]|[1-9]\d|1\d{2}|2[0-1]\d|22[0-3])(\.(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])){3}$/;     return   ip.test(str);     }
  • 17:03
  • 浏览 (421)
  • 评论 (1)
  • 分类: js
白浪滔天
搜索本博客
最近加入圈子
存档
最新评论