Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if a string has only alphabets in javascript

if (!/[^a-zA-Z]/.test(word))
 
PREVIOUS NEXT
Tagged: #check #string #alphabets #javascript
ADD COMMENT
Topic
Name
3+9 =