Answers for "replace single quotes with double quotes javascript"

0

js replace quotes

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

js replace single quote with doubel quote

//Removing all the single quotes from a string. 
var outputstr= inputstring. replace(/'/g,'');

//Replacing all the single quotes with double quote in a string. 
var outputstr= inputstring.replace(/'/g,'"');
Posted by: Guest on July-22-2021

Code answers related to "replace single quotes with double quotes javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language