how to remove inverted commas in javascript code example
Example: javascript remove multiple commas from string
/[,\s]+|[,\s]+/g
var str= "your string here";
//this will be new string after replace
str = str.replace(/[,\s]+|[,\s]+/g, 'your string here');