How do u write a regular expression for date (dd/mm/yyyy)
field?
Answer Posted / amarendra kothuru
The above regular expression(Ans:1) will fail as it allows
day between 31 to 40 as well.
The following regular expression takes care of all cases
and validate the format (dd/mm/yyyy)
(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/\d{4}
| Is This Answer Correct ? | 22 Yes | 15 No |
Post New Answer View All Answers
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
How many ways we can parameterize data in quicktest professional?
What does mean by Scope of Automation?n How we defined it?
desribe a situation where u faced a stressful situation and how did u cope with it
what testplan contents and what test strategy contents,what is the diff b/w them
What are the features of quick test pro(qtp)?
When to use descriptive programming?
In Remote acess server how u run a test?
How to add verification steps to tests?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
What are the views available in quicktest professional?
How can I change object description or check point values in qtp?
What is the basic concept of qtp?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?