JavaScript заменить период

var lotsofPeriods="How... are. you?";
var noPeriods = lotsofPeriods.replace(/./g,"");//"How are you?"
Grepper