It works! Thank you!!
Best regards, Alex Y. -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 2:52 PM To: JMeter Users List Subject: Re: regular expression extractor On 10/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm trying to get number 300012 from the following string: > > <td width="90"><input type="button" value="Edit User" onclick="setFormValue > ('edit', '300012')"></td> > > And I use the following expression, but it doesn't work: > > <td width="90"><input type="button" value="Edit User" onclick="setFormValue > ('edit', '(.+?)')"></td> > > Could somebody say me, what's wrong and which's correct sytax. ( is a meta-character - it needs to be escaped if standing for itself. Rather than using ".", digits can be matched with "\d". The last part of the RE should be: \('edit', '(\d+?)'\)"></td> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature

