|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ValidationExpression
Hi,
I have attached a RegularExpressionValidator Control to a textbox to accept numeric values in the format: ###*#####*## I have entered the following regex in the ValidationExpression: [0-9]{3}\*[0-9]{5}\*[0-9]{2} or [0-9]{3}[\*][0-9]{5}[\*][0-9]{2} but validator fails to validate an input such as:111*11111*11 Could someone please guide me on what is wrong in the regular expression that i have specified? Thanks. |
|
#2
|
|||
|
|||
|
Hello metridevkk,
How about this: [0-9]{3}[*][0-9]{5}[*][0-9]{2} |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > ValidationExpression |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|