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 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1303


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1478


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

564


why text area checkpoints cannot used for web applications

1881


in my application,validation message has in japanise language.how to validate this message is appears properly or not

1521






how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1673


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1389


Who uses qtp tool?

575


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1281


How does qtp recognize objects in aut?

591


how can i pass a "cript"as a parameter in to a function

1460


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802


How can you handle exceptions in qtp?

534


In Remote acess server how u run a test?

1286


How to handle the exceptions using the recovery scenario manager in qtp?

569