Micro Focus QTP (UFT) Forums
Using regular expression on Window's title string - 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: Using regular expression on Window's title string (/Thread-Using-regular-expression-on-Window-s-title-string)



Using regular expression on Window's title string - rok - 03-25-2008

Hi,

Currently I have a Window title that has version number that change everytime. How can I do it to ignore version number?
ex: "Application (v2.1.0) - Fun"


RE: Using regular expression on Window's title string - Ankur - 04-01-2008

In OR change it to "Application (.*) - Fun" OR more specific "Application (v[0-9]\.[0-9]\.[0-9]) - Fun"