I am trying to remove the pound sign (£) from a string using javascript. I am trying to do this using
str = str.replace(/\£/g, "");
However, he does not delete the sign.
The str value is retrieved from the range (and the correct value is selected). This range was previously set using javascript, and it was encoded in a string as
£
Any ideas on the best way to remove the pound sign?
source
share