Use replace
testNote = testNote.replace(/\r\n/g, "<br/>")
and so on.
var testNote = "Test\r\nMulti \r\nLinme\r\n\r\n\r\n\r\nLineeeeeeeeee\r\n"
console.log(testNote.replace(/\r\n/g,"<br/>"));
1
solved Remove string literal ‘\n’ and replace with a newline [closed]