js清除html 所有空格占位符
清除富文本中所有   这些空格字符
html = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
html.replace(/ /g,"").replace(/ /g,"").replace(/ /g,"")
- 上一篇 »清除Linux登录记录
- 下一篇 »Linux系统——特殊符号、通配符及正则表达式
清除富文本中所有   这些空格字符
html = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
html.replace(/ /g,"").replace(/ /g,"").replace(/ /g,"")