Regex for string of exactly 32 characters

Matches any string that is exactly 32 character(s) long.

^.{32}$

Proof it works

3/3 sample tests passed · compiles: true

SampleShould matchResult
chmrwbglqvafkpuzejotydinsxchmrwb yes pass
chmrwbglqvafkpuzejotydinsxchmrwbg no pass
chmrwbglqvafkpuzejotydinsxchmrw no pass

Try your own input

Related patterns