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