2018年7月10日

摘要: http://www.cnblogs.com/wupeiqi/articles/5237672.html test 判断字符串是否符合规定的正则 exec 获取匹配的数据 例子: test例子 rep = /\d+/; //只要有数字就返回truerep.test("asdkfasdkf9999") 阅读全文

posted @ 2018-07-10 19:14 Brown羊羊 阅读(100) 评论(0) 推荐(0)