Use RegEx in String.replace() to replace all dots