I have an array in javascript. This array has strings that contains commas (\",\"). I want all commas to be removed from this array. Can this be done?
Given the required string in variable s :-
var result = s.replace(/,/g, '');