G
G
Hello,
I have a REGEX validator which checks for DIGITS ONLY, 10 or 11 digits in
length. The pattern is:#
^\d{10,11}$
I would like to enhance this pattern so in addition to only digits, and
string must be 10 or 11 characters in length, - I would like the first
character to be a 0, and the second character must NEVER be a 0.
Matches:
0100000000
01234567890
0101010101
Non Matches:
1000000000
0010000000
1010101010
Any regex pro's here able to assist?
Kind Regards,
Gary.
I have a REGEX validator which checks for DIGITS ONLY, 10 or 11 digits in
length. The pattern is:#
^\d{10,11}$
I would like to enhance this pattern so in addition to only digits, and
string must be 10 or 11 characters in length, - I would like the first
character to be a 0, and the second character must NEVER be a 0.
Matches:
0100000000
01234567890
0101010101
Non Matches:
1000000000
0010000000
1010101010
Any regex pro's here able to assist?
Kind Regards,
Gary.