var someStr = 'He said "Hello, my name is Foo"'; console.log(someStr.replace(/['"]+/g, ''));
var name = '"Water"' var clearName = JSON.parse(name); //console.log(clearName) -> Water