Answers for "javascript replace comma with space"

2

replace multiple spaces with single space javascript

string = string.replace(/\s\s+/g, ' ');
Posted by: Guest on July-19-2020
0

replace all commas in string javascript

string.replace(/,/g, '-');
Posted by: Guest on July-12-2021

Code answers related to "javascript replace comma with space"

Code answers related to "Javascript"

Browse Popular Code Answers by Language