How do u write a regular expression for date (dd/mm/yyyy)
field?

Answer Posted / megh

Regex Birthdate = new Regex(@"((0[1-9]{1})|([1-2]{1}[0-9]{1})|(3[0-1]{1}))[-/]{1}((0[0-9]{1})|(1[0-2]{1}))[-/]{1}[0-9]{4}");

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to replay a script in qtp?

612


Object repositories types, which and when to use?

577


How to run a test using quicktest professional (qtp)?

544


What are the properties you would use for identifying a browser and page when using descriptive programming?

631


Connect to QC using AOM.

1236






what is the hierarchy to use properties in descriptive programming

1498


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1410


Whether qtp 9.0 supports Test director8.0

2120


What is qtpro? What is quick test pro?

560


How does QTP identify an object?

613


how to know no.of mails in our g mail by using vb-script

1779


How to record application running on the Virtual machine?

642


Explain different types of checkpoints?

562


what is the difference between the modular framework and datadriven frame work

1911


On what document base Descriptive programming is written if build is not yet ready ?

873