write a regular expression pattern for xyz?123?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we compare descriptive programing with a regular expression

1925


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1569


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1875


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1434


after initiating one project for testing, when exacltly QTP tester role starts?

1398






Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2103


What are the types of object repositories? Which one is you using?

619


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

615


How many types of recording modes are there?

595


How to find the path of folder in which the test is saved in qtp?

534


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1560


explain keyword driven framework with banking domain?

1565


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3217


What is reusable action?

601


Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

1870