From http://stackoverflow.com/questions/2390789/how-to-replace-all-dots-in-a-string-using-javascript
mystring.replace(/\./g,' ')