Micro Focus QTP (UFT) Forums
RegExp in RepParam - 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: RegExp in RepParam (/Thread-RegExp-in-RepParam)



RegExp in RepParam - mv8167 - 09-28-2011

In my OR, for oneof my pages I am adding "title" as a description property. In the repository parameter I need to set the property to allow all names with have "Preferences" plus any thing that followsthe word.

I selected the Regular Expression check box, now for the constant, do I use "Preferences.*" ? (without the quotes)
I tried "Preferences\w*" (without the quotes) but dont think QTP likes it.


RE: RegExp in RepParam - Ankesh - 11-04-2011

Preferences.* will work fine.