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