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