Remove the plus signs using the replace() function by writing the following code:
myString = myString.replace(/\+/g, );
Change myString to the name of the string you want to remove plus signs from.
Remove the minus signs by typing the following code:
myString = myString.replace(/\-/g, );
Substitute myString with the name of the string you want to remove minus signs from.
Save the file, then load it into a Web browser by typing the address of the file in the address bar.