Thanks for the quick reply. It doesn't seem to work with the expression href="edit.faces?tid=(\d+)".
Instead it works with tid=(\d+)" Thanks, Eldho John -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 4:26 PM To: JMeter Users List Subject: Re: regular expression 2008/4/23 Ronan Klyne <[EMAIL PROTECTED]>: > Eldho John wrote: > > > I have a response where a portion is like <a > > href="edit.faces?tid=54">Edit</a></td> > > > > > > > > > > > > > From this I have to capture the value of tid (i.e.54) using regular > > > > > expression extractor in jmeter. > > > > > > > > > > Could anyone please help? > > > > Expression: href="edit.faces?tid=([^"]+)" Or Expression: href="edit.faces?tid=(\d+)" if the tid can only be numeric. > Template: $1$ > > Change the '+' to a '*' is you wish to allow the id to be blank. > > # r > > -- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

