|
-
Dec 17th, 2007, 01:51 PM
#1
Thread Starter
Sleep mode
[2.0] regex question
How would you go about doing this using regex :
I want to validate "Age" field which complies to these rules:
1.doesn't accept "zero" at the beginning.
2.doesn't excced 3 digits.
3.accept 2 or 3 digits.
examples of valid ages: 20 , 38,102
Sorry , can't construct this little regex string
Thank u for any help !
Last edited by Pirate; Dec 18th, 2007 at 10:33 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|