help with regex pattern
Posted on 2012-04-02
I'm terrible with regular expressions and cannot figure out how to use a regex expression to check for the following pattern.
The first 3 characters must be alpabetic and the next 7 characters must be numeric.
The first 3 characters can only be:
The remaining 7 characters can be any numeric value 0-9
I'm sure this is simple, but I can't figure it out.
I was starting with this:
[A-Za-z][A-Za-z][A-Za-z][0-9] but, this isn't even close.
Thanks for any help.