把 換行 替換爲指定字符

replace(/[\r\n]/g,"|")    //.replace(/\n/g, "").replace(/\r/g, "")


將 換行換成 ||
相關文章
相關標籤/搜索