Posts: 10
Threads: 6
Joined: Oct 2008
Reputation:
0
10-17-2008, 07:41 PM
(This post was last modified: 10-17-2008, 08:15 PM by rajeshvelur.)
I have a situation to use regular expression.
The number is dynamic for example 445780.
I want use regular expression and make it fall between 2 numbers say for example (400000-500000).
How can i do that, please i need your help.
Thanks
Posts: 10
Threads: 6
Joined: Oct 2008
Reputation:
0
10-17-2008, 09:05 PM
(This post was last modified: 10-17-2008, 09:06 PM by rajeshvelur.)
Thanks a lot kishore,
Hope you are helping a lot to guys like me who are beginners in QTP.
I could understand your answer, but the scenario is like this
I need to use the above code for
"Found 4643000 companies"
And this forms the check point in my script.
How can i use your code in the above scenario?
Thanks
Posts: 130
Threads: 0
Joined: Jul 2008
Reputation:
0
11-29-2008, 11:04 PM
you can specify like
4\d\d\d\d\d/500000 which will always check for 400000 to 500000