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".