Trim Nodejs Kalimat dari Spaces

newString = string.replace(/\s+/g,''); // "thiscontainsspaces"
Blue-eyed Bug