js替换内容中的<br>标签 等我吃饱跟你拼啦 2023-03-29 111 阅读1分钟 function replaceBR(content){ content = content.replace(/<br\s*\/?>/g, ","); return content }