如果想动态提供要替换的内容,建议使用 replaceAllMapped() 方法。 ... 调用字符串的replaceAllMapped() 方法, // 把正则匹配到的内容,替换 ...
確定! 回上一頁