replace all commas with whitespace
var firstName ="John, Doe"; var formattedName= firstName.replace(/,/g,' ');
« DynaBean Soup Format Numbers – Thousand Separator »
Name (required)
E-mail (will not be published) (required)
Website
Notify me of follow-up comments via email.