how to replace multiple characters in a string in javascript using regex code example
Example: js regex replace multiple matches
str.replace(/-|:|\./g,''); // replace all matches of "-", ":" and "." in str
str.replace(/-|:|\./g,''); // replace all matches of "-", ":" and "." in str