js replace single double quote json code example Example: js replace quotes mystring = mystring.replace(/["']/g, "");