What is a regular expression that accepts only characters ranging from a to z?
The pattern itself would be [a-z] for single character and ^[a-z]+$ for entire line. If you want to allow uppercase as well, make it [a-zA-Z] or ^[a-zA-Z]+$
[a-z]
^[a-z]+$
[a-zA-Z]
^[a-zA-Z]+$