js regex remplacer plusieurs correspondances

str.replace(/-|:|\./g,''); // replace all matches of "-", ":" and "." in str
florinrelea