[/ QUOTE ] [img]/images/graemlins/ooo.gif[/img] hey are you joking RegEx is the most difficult and part which i found and in QTP and I don't like looking into it at all because it always doesn't work for me. most of the time i have even observed that correct regEx through code also doesn't go correctly with if directly inserted in OR's object property field , is there anybody have seen this ?
Like many things worth learning, hard work and dedication pays off in the long run.
The documentation that comes with QTP has a decent section on regular expressions that explains everything you need to know.
Google Regex Coach and download the free version that lets you test your regular expressions. This tool will let you enter the actual text in your application, then enter a regular expression and see if it matches. If it doesn't match, you tweak your regex as much as you need until it matches. Then copy the working regex to QTP.
"The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"