javascript:alert("abca b ca bc".replace(new RegExp(" ","gm"),""))

去掉所有空格