Micro Focus QTP (UFT) Forums
Regular Expression check point - 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 check point (/Thread-Regular-Expression-check-point)



Regular Expression check point - Mayoo - 11-26-2009

So i am forced to use standard check point to check a sentence in a text area ( Cause when i use text checkpoint or text area checkpoint, i get error in QTP to saying operation cannot be performed ). Below is my case

Unwanted line with numbers and characters
Unwanted line with numbers and characters
NEED to check line
Unwanted line with numbers and characters
Unwanted line with numbers and characters

I used the below

\w
\w
Need to check line
\w
\w

with regular expression checked in the checkpoint, the test case is still failing

can anyone help to tell me how to ignore all other lines and pay attention to 3rd line

Nevermind i got it .. it

.*Need to check line.*