您的位置: 首页 > IT文章 > 替换指定规则的字符串 替换指定规则的字符串 分类: IT文章 • 2023-11-22 11:08:07 //替换2个字符中间的字符 alert(href.replace(/[^page=]+(?=&per-page)/, 0)); 来自为知笔记(Wiz)