Results 1 to 3 of 3

Thread: Regular expression Help in for DOB.

  1. #1
    Join Date
    Mar 2010

    Regular expression Help in for DOB.


    I have 3 textboxes one for Month/one for Date/ one for Year.

    Can i have any regular expression for this.

    Thanks in Advance !!

  2. #2
    Join Date
    May 2008

    Regular expression Help in for DOB.

    The simplest regular expression is one you're already familiar with—the literal string. A particular string can be described, literally, by itself, and thus a regular expression pattern like foo would match the input string foo exactly once. In this case, it would also match the input: The food was quite tasty, which might be not be desired if only a precise match is sought. Of course, matching exact strings to themselves is a trivial implementation of regular expressions, and doesn't begin to reveal their power. What if instead of foo you wanted to find all words starting with the letter f, or all three letter words? Now you've gone beyond what literal strings can do (within reason)—it's time to learn some more about regular expressions. Below is a sample literal expression and some inputs it would match.
    Pattern	Inputs (Matches)
    foo	           foo, food, foot, "There's evil afoot."

  3. #3
    Join Date
    Apr 2008

    Re: Regular expression Help in for DOB.

    You can use only one text box and try to separated the date with space and after that you use the white space character mentioned below
    \s Match a whitespace character
    I think this will help you

Similar Threads

  1. Using Regular Expression than Substring in Microsoft Excel
    By Jigisha in forum MS Office Support
    Replies: 5
    Last Post: 25-01-2012, 06:19 PM
  2. Regular expression in MySQL
    By Fragman in forum Software Development
    Replies: 4
    Last Post: 02-03-2010, 10:15 PM
  3. why to use * at the start of a C expression?
    By Nadiaa in forum Software Development
    Replies: 4
    Last Post: 10-02-2010, 10:57 PM
  4. Regular expression in Perl
    By Ameeryan in forum Software Development
    Replies: 2
    Last Post: 19-11-2009, 02:07 PM
  5. When will Expression Blend 3 be available
    By Madison in forum Windows Software
    Replies: 3
    Last Post: 15-07-2009, 09:26 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,643,410,507.82389 seconds with 17 queries