文章查找匹配次数 2018-09-25 本文已影响0人 小豆soybean 使用js手动查找 image.png 使用正则: 1.使用字符串拼接,eval() 2.使用new RegExp(variable,"g"); image.png