正则匹配中,针对字符转义

33 阅读1分钟
const text = "你好吗?"
text.replace(Regx("//?",gi),"<span>&1</span>")