On 7 September 2011 09:48, SanderW <san...@performancearchitecten.nl> wrote:
> Hmmm, I finally got it.
>
> The regular expression /<dt>Geboorteplaats</dt>.*\n.*<dd>(.+?)</dd>/ does
> the trick.
> I needed to add another .* before the newline.
>
> If anybody have a different way of approach I would gladly hear it

Remember that HTTP tends to use CRLF as EOL.

Using (?s) is usually helpful when matching across multiple lines.

Also, .* is greedy; much safer (and more efficient) to use [^<]* here,
because you want to stop when you get to the next <

Can you provide a link (privately if necessary) to the URL?

> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp4777775p4777800.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

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

Reply via email to