Are the letters optional? Do you want to match all the parts of this? If both not, and if you want case-insensitivity, use something like:
/^[a-z]\d{2}[a-z]\d{3}[a-z]\d{2}[a-z]$/i
twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 101
All of the letters need to be caps?
/^([A-Z])(\d{2})([A-Z])(\d{3})([A-Z])(\d{2})([A-Z])$/
But this will NOT match X25b777s44K.
twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 101