regex for replacing multiple words 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