write a regular expression pattern for xyz?123?



write a regular expression pattern for xyz?123?..

Answer / nagaveni n

case 1: xyz?123? - if xyz is varying then
regular expression pattern would be
Re = .*\?123\?

Case 2: xyz?123? - if 123 is varying then
regular expression patter would be
RE = xyz\?[0-9]*\?

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

Actually How do we use this Smart Identification Technology during Recording mode.

1 Answers  


what is the script(qtp) to export and import the datas from MSaccess to Excel sheet.if anybody know plz tell me.

3 Answers  


Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.

1 Answers  


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

0 Answers  


Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.

7 Answers  






Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

0 Answers  


3 differences between QTP & Winrunner?

1 Answers  


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

0 Answers  


suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?

4 Answers  


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

0 Answers  


Categories