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