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