isAlpha
Checks if a string contains only alpha characters.
- Use
RegExp.prototype.test()to check if the given string matches against the alphabetic regexp pattern.
Checks if a string contains only alpha characters.
RegExp.prototype.test() to check if the given string matches against the alphabetic regexp pattern.