Can someone help me out here? I need a regex that will match the following pattern:
10-(any 5 digits except 73480)-(any 4 digits)
Examples
valid: 10-12345-1234
invalid: 10-73480-1234
Thanks
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.
You should use negative lookahead to check for any occurance of
10-73480before matching..Try it here