JS Strip plusieurs espaces

string = string.replace(/\s\s+/g, ' ');
Modern Mouse