Python regex to match alphanumeric starting with capital letter and length range
The quantifier here [0-9]{10,22}
repeats matching 10 - 22 digits.
If you want to verify the number of total characters, you should anchor the string and verify the number of characters until the next anchor using a lookahead ^(?=[A-Z\d,/]{10,22}$)
^(?=[A-Z\d,/]{10,22}$)[A-Z]{2,}[A-Z\d,/]*\d$
Regex demo