Hi, I need to remove the return characters from a string but i can't figure out how to reference it in a replace() method.
Also when i test the code by replacing the letter /a/ it only replaces the first instance of it.. how do i get it to replace them all?
Thanks!
Code:
this.value=this.value.replace(/char(13)/, "");
Thanks!
Comment