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