javascript 將字符串中的多個空格替換為一個空格的正則實例 ... return this.replace(regEx, ' '); }; var str="jb51.net is a good site"; ...
確定! 回上一頁