i try to validate a number with a simple scheme but i am not that good in Regular Expressions.
The number has this format:
XXXXXXX-XX-X where X is a number between 0 and 9.
I tried the following: /[0-9]{6}\-[0-9]{2]\-[0-9]{1}/ but it does not validate.
Do you see what i have done wrong?