Results 1 to 11 of 11

Thread: [2.0] regex question

Threaded View

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Resolved [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
  •  



Click Here to Expand Forum to Full Width