isAlphaNumeric
Checks if a string contains only alphanumeric characters.
- Use
RegExp.prototype.test()
to check if the input string matches against the alphanumeric regexp pattern.
Checks if a string contains only alphanumeric characters.
RegExp.prototype.test()
to check if the input string matches against the alphanumeric regexp pattern.