Regex for string of exactly 10 characters

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

^.{10}$

Proof it works

3/3 sample tests passed · compiles: true

SampleShould matchResult
chmrwbglqv yes pass
chmrwbglqva no pass
chmrwbglq no pass

Try your own input

Related patterns