http://www.shuzihhuajingji.com/article/54348.html
var searchResult = strDOM.match(/tag[1-9]/g); tagCount = searchResult.length;
项目里用到的匹配tag1~tag9的正则表达式代码
http://www.shuzihhuajingji.com/article/54348.html
var searchResult = strDOM.match(/tag[1-9]/g); tagCount = searchResult.length;
项目里用到的匹配tag1~tag9的正则表达式代码
转载于:https://www.cnblogs.com/changleaiya/p/5650450.html