Answers for "regex for alphabets"

3

how to check if a string has only alphabets in javascript

if (!/[^a-zA-Z]/.test(word))
Posted by: Guest on June-11-2020
1

regex notation for alphabet characters

/^[A-Z]+$/i
/^[A-Za-z]+$/
Posted by: Guest on July-05-2020

Code answers related to "regex for alphabets"

Code answers related to "Javascript"

Browse Popular Code Answers by Language