This website collects cookies to deliver better user experience

How to remove all the non-alphanumeric characters from a string using JavaScript?