I have a problem replacing ==> ' (apostrophe) with a space that I know it looks so simple, but I mean that editors don't print an apostrophe like this ==> ' , but like this ==> ' and I canβt find a way to replace it using
var newtext = old.replace(/'/g,"");
here is an example http://jsfiddle.net/zYK9f/4/ in this example you can type ==> ' on the page, but you have tried a lot in the code editor, but there is no result, I hope you can help thanks, sorry, I have mind an apostrophe, not a semicolon
javascript regex replace expression
jq beginner
source share