expresión regular reemplazar un punto
mystring = mystring.replace(/\./g,' ')
Clever Crane
mystring = mystring.replace(/\./g,' ')
var lotsofPeriods="How... are. you?";
var noPeriods = lotsofPeriods.replace(/./g,"");//"How are you?"