regex multiple replace patterns 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