Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: extracting links from text

by mexnix (Pilgrim)
on Sep 04, 2001 at 21:59 UTC ( [id://110109]=note: print w/replies, xml ) Need Help??


in reply to extracting links from text

Instead of using a reg. expression, you should take a look at HTML::LinkExtor, HTML::Parser, or HTML::TokeParser.

__________________________________________________

s mmgfbs nf, nfyojy m,tr yb-zya-zy,s zfzphz,print;
- thanks japhy :)

mexnix.perlmonk.org

Replies are listed 'Best First'.
Re: Re: extracting links from text
by Anonymous Monk on Sep 04, 2001 at 22:53 UTC
    These all seem useful if I'm looking to parse links out of HTML, but I haven't figured out how to do this in a text document without any HTML tags using these modules.

    Hmmmm. Maybe I've been eating too many retard sandwiches, and should try a diet of "Learning Perl".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110109]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found