摘要: 使用正则表达式的主要有match,exec,test 1、正则表达式方法test测试给定的字符串是否满足正则表达式,返回值是bool类型的,只有真和假。 var user_code = $("input[name='vuser_code']").val(); var code= /[a-zA-Z0- 阅读全文
posted @ 2017-02-08 09:26 StanLong 阅读(201) 评论(0) 推荐(0)