You'll generally want to use /^[a-zA-Z]{n}$/ where n is the length of the string. In this case /^[a-zA-Z]{1}$/.
/^[a-zA-Z]{n}$/
n
/^[a-zA-Z]{1}$/
2.1m questions
2.1m answers
60 comments
57.0k users