I am not so good with regex, I need some help and I am stuck…
This is what I got:
EDITED: Now is working fine, take a look at…
http://jsfiddle.net/oscarj24/qrPHk/1/
This is what I need:
// First 4 numbers must be always 9908
// After the 4 first numbers must be a : as delimiter
// After the delimiter...
// - the allowed values are just numbers from 0-9
// - the min. length is 3
// - the max. length is infinite
// RESULT:
// - Valid: 9908:123 or 9908:123456...
// - Invalid: 9908:12 or 9908:xyz
Thanks.
will match exactly 9908: followed by 3 or more digits.