// add spaces after every 4 digits (make sure there's no trailing whitespace) somestring.replace(/(\d{4})/g, '$1 ').replace(/(^\s+|\s+$)/ ...
確定! 回上一頁