Hi:
Is any expert can tell me how to setup the regular pattern of 11 digits which begins with 3.
The requirement is matching all the 11 digits string like any number between 30,000,000,000 ---39,999,999,999
for example if the input is 41234567890 it will false, but id the input is 31234567890, it will true.
I know one way I can do is: 3[0-9][0-9][0-9] [0-9][0-9][0-9] [0-9][0-9][0-9] [0-9], but the string length is longer than 40 characters which is not acceptable by my application.
any another way to do that use UNIX "extended regular expression"
thanks a lot
Is any expert can tell me how to setup the regular pattern of 11 digits which begins with 3.
The requirement is matching all the 11 digits string like any number between 30,000,000,000 ---39,999,999,999
for example if the input is 41234567890 it will false, but id the input is 31234567890, it will true.
I know one way I can do is: 3[0-9][0-9][0-9] [0-9][0-9][0-9] [0-9][0-9][0-9] [0-9], but the string length is longer than 40 characters which is not acceptable by my application.
any another way to do that use UNIX "extended regular expression"
thanks a lot