Regex for 4 letters only

Matches exactly 4 alphabetic letters (no digits).

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

Proof it works

3/3 sample tests passed · compiles: true

SampleShould matchResult
chmr yes pass
chmr1 no pass
chmrw no pass

Try your own input

Related patterns