<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 <kapil.j...@logica.com> 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. > >