You could this regex
^[a-z]{4}\d{2}$
If you need uppercase letters too
^[A-Za-z]{4}\d{2}$
or with case insentive flag
^[A-Z]{4}\d{2}$
- ^ Beginning of string
- $ end of string
- [a-z]{4} Matches 4 letters
- \d{2} Matches 2 numbers
0
solved RegEx for a 6 character long string that consists of four letters followed by 2 numbers