Regex for string of exactly 20 characters
Matches any string that is exactly 20 character(s) long.
^.{20}$
Proof it works
| Sample | Should match | Result |
|---|---|---|
chmrwbglqvafkpuzejot |
yes | pass |
chmrwbglqvafkpuzejoty |
no | pass |
chmrwbglqvafkpuzejo |
no | pass |