Regex for 5 letters only

Matches exactly 5 alphabetic letters (no digits).

^[A-Za-z]{5}$

Proof it works

3/3 sample tests passed · compiles: true

SampleShould matchResult
chmrw yes pass
chmrw1 no pass
chmrwb no pass

Try your own input

Related patterns