Regex for 6 letters only

Matches exactly 6 alphabetic letters (no digits).

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

Proof it works

3/3 sample tests passed · compiles: true

SampleShould matchResult
chmrwb yes pass
chmrwb1 no pass
chmrwbg no pass

Try your own input

Related patterns