Hello,
I am trying to remove single quotes and double quotes from a string of escaped characters,
it works with all except for single quotes ' and double quotes "
this is my code:
var newstrchanged = strEscaped.replace(/^%22/g, ' '); //does not remove the double quotes
var newstrchanged = strEscaped.replace(/^%27/g, ' '); //does not remove the single quote
var newstrchanged = strEscaped.replace(/^%3A/g, ' '); //does remove the SEMI COLON %3A
Bookmarks