B bal Guest Dec 7, 2014 #1 For all the others, it is working with: message.replace(/(?:\r\n|\r|\n)/g, '\\n'); Continue reading...
For all the others, it is working with: message.replace(/(?:\r\n|\r|\n)/g, '\\n'); Continue reading...