showing results for - "js replace single quote with doubel quote"
Federico
24 Jan 2018
1//Removing all the single quotes from a string. 
2var outputstr= inputstring. replace(/'/g,'');
3
4//Replacing all the single quotes with double quote in a string. 
5var outputstr= inputstring.replace(/'/g,'"');
queries leading to this page
js replace all single quotes in stringjavascript replace single quote with 26aposreplace double quotes with single quotes in javascriptreplace single quote with two single quotes in javascripthow to replace double quote into single quotes in javascriptreplace doublequote with single quote in javascriptjs replace single quote with doubel quotehow to replace all single and double quote in a javascript stringreplace double quote with single quote in javascriptreplace single quotes with double quotes javascriptreplace double quotes in javascriptfind single quote and replace in javascriptreplace single quote with double quote in javascriptreplace double quotes with single quotes javascriptjavascript replace quote entitynodejs replace double quotes to 5c quoteobject string replace double quote to single quote javascriptreplace single by double quotes string javascripthow to replace double quotes in javascript with single quotereplace 26quot with double quotes javascriptreplace single quote by double quotes string javascriptjavascript replace single quote with two single quotes in stringstring replace single quote in jsjs replace single quotes with doublejavascript replace single quote with two single quotes codejavascript replace single quotejavascript replace double quotes with single quotesjavascript replace single quote with two single quotesjavascript replace string with single quotereplace double quotes with single quotes in jsjavascript replace single quote with backslash single quotehow to replace single and double quote in a javascript stringreplace double quotes to single quotes in javascriptreplace string simple quote to double quote jsreplace single and double quotes for javascriptjs preplace 22 double quotes with single quoteshow to replace single quote with double quote in javascriptreplace single quote between two single quotes in javascriptjavascript replace single quote with doublequotesjs replace single quote with doubel quote