multiple regex replace $1 $2 js 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