I want to capture only 2013. You have not mentioned value in you regular 
expression is that still correct RE?

-----Original Message-----
From: Deepak Shetty [mailto:[email protected]] 
Sent: 28 January 2011 17:37
To: JMeter Users List
Subject: Re: Regular expression

<option\s*"([^"]*)"
Template = $1$
MatchNo=3 (0 if you want to select a value at random) - If you dont want the
blank value then you have yo change the * to a +

Incidentally we dont get to see your highlight in red.

regards
deepak

On Fri, Jan 28, 2011 at 9:30 AM, Jain, Kapil <[email protected]> wrote:

> I am getting following entry in my html page which is changing dynamically.
> <option value=""></option>
> <option value="2012">2012</option>
> <option value="2013">2013</option>
> <option value="2014">2014</option>
>
> Here I want to capture middle value 2013 which is highlighted in red. I
> have created RE but not capturing 2013. Can you please help me on creating
> regular expression for this please.
>
>
> Regards
> KAPIL
>
>
> Think green - keep it on the screen.
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>

Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to