JS substitua as cotações
mystring = mystring.replace(/["']/g, "");
Borma
mystring = mystring.replace(/["']/g, "");
const anyStr = 'Friend ... "OK" ... foo'
const formattedString = anyStr.replace(/["]/g, "\\"")