I need help with a Regex expression to valid an ID pattern which is 7 characters where the first position is Alpha (A-Z) and ignore case and last 6 is Numeric (0-9).
Example: X155230 or x155230
Thanks guys.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This seems to find your pattern, RegExr, you just have to put it into JavaScript.
The actual Regex
/^[a-zA-Z]\d{6}/i