Answers for "replace quotes in javascript"

0

js replace quotes

mystring = mystring.replace(/["']/g, "");
Posted by: Guest on December-06-2020
0

javascript replace doublequote with empty string

const anyStr = 'Friend ... "OK" ... foo'
const formattedString = anyStr.replace(/["]/g, "\\"")
Posted by: Guest on June-19-2020

Code answers related to "replace quotes in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language