摘要: 1 function regTest(data){ 2 var regExp = /^([1-9]{1})(\d{15}|\d{18})$/; 3 return regExp.test(data) 4 } 5 console.log('regTest(): ', test('621081247000 阅读全文
posted @ 2019-11-12 17:38 困猫喵 阅读(10414) 评论(0) 推荐(1)