![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I use either of these two patterns 1)"d\d\d\d\d\d\d\d\d\d" 2)""d{10}" to regex a 10 digit number but it never pass the test method (always says that the input dosen't match) . Anyone can help? Thanks |
#3
| |||
| |||
|
|
On Wed, 8 Jun 2005 11:12:32 -0700, J-T wrote: I use either of these two patterns 1)"d\d\d\d\d\d\d\d\d\d" 2)""d{10}" to regex a 10 digit number but it never pass the test method (always says that the input dosen't match) . Anyone can help? Thanks Try "\d{10}" or "[0-9]{10}" |
![]() |
| Thread Tools | |
| Display Modes | |
| |