Objective:match exact 10 of mixed uppercase characters (except I,O, and space) and numeric from 2 to 9:
To be exact, here is the valid set the value must be coming from:
{'2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K','L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}
I have tried this:
^[A-Z2-9][^IO01a-z ]{10}$
But this 11 length would pass: 9PAUUH98TYE while 10 of them wouldn't pass 9PAUUH98TY
I also tried:
\b[A-Z2-9][^IO01a-z ]{10}\b