<br/>替换成空格

let str= '123<br/>12344' 
str.replace(/<br\/>/,' ')

'123 12344'

 

posted @ 2022-08-26 15:21  宸泽岚  阅读(47)  评论(0)    收藏  举报