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)



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..

Answer / 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

More QTP Interview Questions

i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

0 Answers  


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

0 Answers  


What are the features of quick test pro(qtp)?

0 Answers  


how to test background color and dynamic images during runtime

4 Answers   Accenture, Oracle,


str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer

3 Answers   Ziynx,






I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,


WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

2 Answers  


what is QTP batch testing tool?

2 Answers  


how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...

1 Answers  


How can you send user defined messages to test report?

0 Answers  


What is test object model in QTP ?

8 Answers  


how can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks

2 Answers   HP,


Categories