var spam = 'he'llo wo'rld'.replace("'", '')
How can I replace all characters ?
I'm sorry. I resolved it.
var spam = 'he'llo wo'rld'.replace(/\& # 3 9;/g, '')
I would have thought that decodeURI() would have been simpler...
very informative post i will share it with others,