const output = str.replace(/(\r\n|\n|\r)/gm, ' '); ... After Replacing:a codespeedy article is what you are looking for!
確定! 回上一頁