SyntaxFix
Write A Post
Hire A Developer
Questions
To check whether input_string is alphanumeric, simply use:
input_string.match(/[^\w]|_/) == null