Regular Expression - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions) +--- Thread: Regular Expression (/Thread-Regular-Expression--1339) |
Regular Expression - lakshjai - 12-04-2008 Hi, Can anyone help me to write the regular expression for Rejection (2) The number in the paranthesis changes very often. I tried Rejection ([0-9]) and Rejection (\d).. Both dint work Please let me know the suggestion. Thanks in advance Laksh RE: Regular Expression - surya_7mar - 12-09-2008 Rejection (/d*) RE: Regular Expression - surya_7mar - 12-09-2008 Sorry it is Rejection (\d*) RE: Regular Expression - VENKATAREDDY_M - 02-03-2009 Hi Lakshjai, All the above expressions will not work because "(" and ")" are special charecters in RegEXP. Pls use below Regular Expression. "Rejection \([0-9]\)" It should work Thanks VENKATA RE: Regular Expression - lakshjai - 02-03-2009 Thanks Venkat, I will try this and let you know RE: Regular Expression - VENKATAREDDY_M - 03-04-2009 Hi Ram, Generic Functions are not related to Application Functionalities. Any function which doesn't contain any of the Operations on Application that is Generic Function. For Example you can write a function to change the Date format to a different format. That function you can use any where since it doesn't depend on Application. Similarly below are some Generic fuctions that we can have.... Navigate URL Function with URL as Input Parameter. Function to Generate Random String with length as Input Parameter. etc Hope you are clear Thanks VENKATA |