I need to use javascript to replace ^ characters in my
string with "\r\n". I have it working but it only replaces the first instance.
This is my code:
document.getElementById('prevsign').value = psl.replace("^","\r\n");
I have tried this but it will not work at all:
document.getElementById('prevsign').value = psl.replace("^"/g,"\r\n");