怎么替换网页中的JS函数function formatStr(str) { str=str.replace(rnig,"<br>")return str} 要注意两点:要使用正则表达式,不能使用 str.rep2023-03-04JavaScript210