Answers for "remove commas from numbers in array"

0

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');
Posted by: Guest on May-19-2021

Code answers related to "remove commas from numbers in array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language