I have a string looking like: some+thing+-+More
How do i replace the + sign?
I have tried the following without success:
temps = "some+thing+-+More";
temps = temps.replace("/+" /g, "blank");
temps = temps.replace("+" /g, "blank");
temps = temps.replace(/+/g, "blank");
You need to escape the plus sign with a backslash, like so: