摘要: js中test,exec和match方法 转载▼ js中test,exec和match方法 转载▼ 标签: 杂谈 分类: jsp 杂谈 test test 返回 Boolean,查找对应的字符串中是否存在模式。 var str = "1a1b1c";var reg = new RegExp("1." 阅读全文
posted @ 2016-05-11 21:57 美金 阅读(1038) 评论(0) 推荐(0)