Remove all whitespace. 14. // JavaScript RegEx. 15. var str = " a b c d e f g ";. 16. var newStr = str.replace(/\s+/g, '');.
確定! 回上一頁