javascript read non alphanumeric characters code example Example: replace non alphanumeric javascript text.replace(/[\W_]+/g," ");