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