1 of 2
user avatar
user avatar
Replace method doesn't work
I want to replace the smart quotes like ‘ ’ " " – — to regular codes. Also, I wanted to replace the © ® TM. I used the following code. But it doesn't help. Kindly help me to resolve this issue.
str.replace(/[""]/g, '"'); str.replace(/[‘’]/g,"'");
Babu
lang-js