Answers for "remove double quotes from string js"

1

javascript remove quotes from string

var someStr = 'He said "Hello, my name is Foo"';
console.log(someStr.replace(/['"]+/g, ''));
Posted by: Guest on April-21-2020
0

remove double quotes from json array javascript

let objectArray = json.map((each) => {
	return JSON.parse(each)
});
console.log(objectArray)
Posted by: Guest on August-10-2021

Code answers related to "remove double quotes from string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language