I'm a regexp and PERL newbie, and I'm making a site scrapper.
So, I have this code:
$agent->{content} =~ m!<b>UD\: </b>\s+?(\w+?)</td>!;
I'm trying to scrape the 1.98-SE out the following:
<td>
<b>UD: </b>
1.98-SE
</td>
What have I done wrong?
I'm pretty sure once I see how it's done, I'll understand it.
Thanks!
So, I have this code:
$agent->{content} =~ m!<b>UD\: </b>\s+?(\w+?)</td>!;
I'm trying to scrape the 1.98-SE out the following:
<td>
<b>UD: </b>
1.98-SE
</td>
What have I done wrong?
I'm pretty sure once I see how it's done, I'll understand it.
Thanks!