replacing double quotes not working js code example Example: js replace quotes mystring = mystring.replace(/["']/g, "");