How can I replace HTML or with new line character \"\\n\"
or
A cheap function:
function brToNewLine(str) { return str.replace(//g, "\n"); }
es.
vat str = "Helloworld!"; var result = brToNewLine(str);
The result is: "Hello/nworld!"