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