in reply to Re^2: Extracting abstract
in thread Extracting abstract

Hi pdahal, welcome to the Monastery.

You appear to be expecting the Monks to visit the URL shown in your original post and examine the content returned, and then guess at the code that you are using that doesn't work how you want it to. Think about it for a second: is it reasonable to expect that?

What you need to do is show an SSCCE demonstrating your problem. This means, forget the URL and fetching the data and all that. That part is apparently working, right? You should show an example of the text you are parsing, and the regular expression you are using, and the result you wish to obtain.

Write a tiny *working* script that shows how the regexp does NOT return your desired results, that the Monks can copy, paste and run as-is. When you do that, you will obtain the wisdom you need.

See also the FAQ Posting on PerlMonks.

Hope this helps!


The way forward always starts with a minimal test.