Jose Pablo Sarco wrote: > Sorry....I need extract the value 176 corresponding to ItemName > > > > > -----Original Message----- > From: Jose Pablo Sarco > Sent: MiƩrcoles, 07 de Enero de 2009 12:28 p.m. > To: JMeter Users List > Subject: Help with a regular expression > > Hi all, > > > > I'm using Jmeter 3.2.3 on XP. > > > > I need extract the value for the td with "ItemName" but, the regular > expression that I used doesn't work..... > > > > > > Response body > > > > .... > > <tr class="odd"> > > <td class="bordes2" style="width: 20px;"> > > > > <input type="checkbox" > name="seleccionado" value="176" > onclick="updateSelectedQuantity(this,'simulaciones'); updateState();" > id="Simulaciones_items"> > > > > </td> > > <td class="bordes2" style="width:160; align:center;">ItemName</td> > > <td class="bordes2" style="width:100; align:center;">Neo14</td> > > td class="bordes2" style="width: 20px;"> > > > > <input type="checkbox" > name="seleccionado" value="177" > onclick="updateSelectedQuantity(this,'simulaciones'); updateState();" > id="Simulaciones_items"> > > > > </td> > > <td class="bordes2" style="width:160; align:center;">OTHERITEM</td> > > <td class="bordes2" style="width:100; align:center;">Neo14</td> > > ..... > > > > > > I tried with: > > > > <input type="checkbox" name="seleccionado" value="(\d*)" .* > id="Simulaciones_items">\n\W*.*\n.*> ItemName > > > > > > > > Please, I appreciate some help with this.
I think this should work: <input[^>]*value="([0-9]*)"[^>]*>[^<>]*</td>[^<>]*<td[^>]*>ItemName</td> -- Ronan Klyne Business Collaborator Developer Tel: +44 01189 028518 [email protected] www.groupbc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

