You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ma...@cast-info.es on 2005/04/12 19:54:43 UTC

About regular Expressions

Hi Everybody

I´m trying to find a regular expressions for :

<a href="/!E1LnPrsdGf2fFN">News</a>

Trying to got "/!E1LnPrsdGf2fFN" in a regular Expression preprocesor
but I haven´t find any match expression yet.

Is there any way to specify this: I tried 

<a href="(.*)">News</a>

but it doesnt seem to work. Any ideas?

Best Regards

Michel 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: About regular Expressions

Posted by sebb <se...@gmail.com>.
On 4/12/05, maherrera@cast-info.es <ma...@cast-info.es> wrote:
> Hi Everybody
> 
> I´m trying to find a regular expressions for :
> 
> <a href="/!E1LnPrsdGf2fFN">News</a>
> 
> Trying to got "/!E1LnPrsdGf2fFN" in a regular Expression preprocesor
> but I haven´t find any match expression yet.
> 
> Is there any way to specify this: I tried
> 
> <a href="(.*)">News</a>
> 
> but it doesnt seem to work. Any ideas?

What do you mean by "not work"?
Does it match too much? 
Nothing at all?

Any errors in jmeter.log?

I would start with

<a href="(.*?)">News</a>

which will at least stop it matching past the trailing ".

See the Wiki for some links on Regexes.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org