I\'m looking for a neat RegEx solution to replace
Since [^a-z0-9] character class contains all that is not alnum, it contains white characters too!
[^a-z0-9]
text.replace(/[^a-z0-9]+/gi, " ");