2023年8月7日
摘要: 常规replace使用 const text1 = 'abcdefg' const text2 = text1.replace('bc','00') // text2 = 'a00defg' 字典表匹配替换 const replacements = { '&lt;': '<', '&gt;': '> 阅读全文
posted @ 2023-08-07 16:46 我想开个小卖部 阅读(155) 评论(0) 推荐(0)