id="(.+?)"

might be better - it will not match an empty id, i.e. id=""

The ? makes the RE non-greeedy, so no need to exclude ".

S.
On 01/11/05, Rolando Sánchez Villalobos <[EMAIL PROTECTED]> wrote:
> Thnxs sebb, I try a lot of forms, but at least i found one that work fine
>
> it is in the value of the regular expression
>
> id= "([^"]*)"
>
> So that expression catch the number of the idea and, through out the rest of 
> the html code
> That kind of regular expression would be great to be put on a page in the 
> site of jmeter as tricks or something like that, I think, or in other file as 
> example of how to use regular expressions
>
> And also all the users of the community would add their own tricks
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Martes, 01 de Noviembre de 2005 02:35 p.m.
> To: JMeter Users List
> Subject: Re: How to capture a value using regular expression extrators
>
>
> On 01/11/05, Rolando Sanchez Villalobos <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >
> > Is there a way to get in JMeter the value of a variable, I stay using
> > Regular Expresion Extractor, but the value is an ID autogenerate and
> > autoincremental, so how I can construct my regular expression to extract
> > the value of the ID, also the system uses struts
>
> Yes, the Regular Expression Extractor can be used to extract anything
> from a sampler response.
>
> > Any help will be much appreciated.
>
> If you post a sample ID with some of the surrounding content, and
> indicate what you want to extract - i.e. the variable part -  we can
> help with the RE.
>
> S.
>
> ---------------------------------------------------------------------
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to