Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Regular expression Help in asp.net for DOB.

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-03-2010
Member
 
Join Date: Mar 2010
Posts: 1
Regular expression Help in asp.net for DOB.
  

DOB(MM/DD/YYYY)

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

Can i have any regular expression for this.

Thanks in Advance !!

Reply With Quote
  #2  
Old 06-03-2010
Member
 
Join Date: May 2008
Posts: 2,383
Regular expression Help in asp.net 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.
Code:
Pattern	Inputs (Matches)
foo	           foo, food, foot, "There's evil afoot."
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #3  
Old 06-03-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Regular expression Help in asp.net 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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 08:42 AM.