Help needed to fix one little thing in this regular expression
^\d{2}\-\d{3}\-\d{6}
Its validating this format 11-111-111111. It is working fine. but the last one (6 digits) is also validating more than 6 digits. That means if i put 11-111-11111111 (8 digits in last part), the above regex is validating it?
Can someone tell me how to limit it to 6 digits only?