I am trying to replaces instances of \\r or \\n characters in my json object with for display on a website.
\\r
\\n
I tried:<
try replace(/\r\n|\n/, '')
replace(/\r\n|\n/, '')