I would have used either
/[A-Z]{2,5}[0-9]{5}/ # Ascii ranges [download]
/\p{Lu}{2,5}\p{Nd}{5}/ # Full Unicode set [download]
In reply to Re^2: pattern matching by JavaFan in thread pattern matching by Spooky