Answers for "regex to accept only alphabets"

4

only letters regex

/^[a-zA-Z]+$/g
Posted by: Guest on April-12-2021
0

regex to allow only numbers letters and hyphen

/^[0-9A-Za-z\s\-]+$/
Posted by: Guest on April-25-2021
1

regex notation for alphabet characters

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

Code answers related to "regex to accept only alphabets"

Code answers related to "Javascript"

Browse Popular Code Answers by Language