Using Regular expression in Date format DD/MM/YYYY
(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4})
in this regular expression year 0000 also accepted.I need
atleast any one single digit must be nonzero value (like
0009,1000,0034)

Answer Posted / diganta.ddas

You can use following Regular Expression
(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/((?!0000)[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

How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1678


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1505


What is qtp window?

555


How do you perform Regreession Testing?

1452


How to use the object spy in quicktest professional (qtp) 8.0 version?

500






Write a script to verify font style and color of a windows object using descriptive programming

829


How to test results for qtp ?

778


How you can find the absolute value of the number in qtp?

510


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

604


How do you synchronization point through DP?

584


What is the limitation to XML Checkpoints?

1596


Is it possible to call win runner script in qtp?

617


What is the use of ordinal identifier in qtp?

596


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

855


how to test Web application using QTP software

1323