Jan 14, 2004, 3:40 AM
Post #3 of 4
Recall is right that you don't want to be parsing HTML using regular expressions. You'll be far better off using a real HTML parser, like HTML::Parser or one of its subclasses.
Re: [Saya] Finding and Replacing URL in a text
[In reply to]
Not sure that I'd use HTML::LinkExtor for this task tho' as you don't want to extract the links, you want to convert them in place. I'd be far more likely to use HTML::TreeBuilder for this.
Dave Cross, Perl Hacker, Trainer and Writer
Get more help at Perl Monks