摘要: 一、JS正则 test - 判断字符串是否符合规定的正则 rep = /\d+/; rep.test("asdfoiklfasdf89asdfasdf") # true rep = /^\d+$/; rep.test("asdfoiklfasdf89asdfasdf") # true exec - 阅读全文
posted @ 2016-12-08 11:33 willpower-chen 阅读(467) 评论(0) 推荐(0) 编辑