Regexp & PERL Newbie

Status
Not open for further replies.

joe

New member
Jun 24, 2006
1,703
14
0
Charlotte
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!
 


Status
Not open for further replies.