web part to check string text input as date and check for mm/dd/yyyy format.
Say if its 01/13/2013 is entered it should check the if its in the proper format such as 1/13/2013.
for single digit numbers for dd and mm it should avoid zero
I want to programatically check a string for this pattern .
did you try the TryParseExact method?
It allows you to validate multiple formats in a single shot.
val it: unit=()
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?