in reply to How to strip everything in a string except HTML Link
So you want to keep everything that looks like a link?
I would use something like HTML::TreeBuilder::XPath and the appropriate XPath query (//a). Other candidates are XML::Twig.
Personally, I would use App::scrape, which is a tiny command line wrapper around HTML::TreeBuilder::XPath.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to strip everything in a string except HTML Link
by Anonymous Monk on May 15, 2015 at 07:19 UTC | |
by Corion (Patriarch) on May 15, 2015 at 07:33 UTC | |
by Anonymous Monk on May 15, 2015 at 07:41 UTC | |
by Anonymous Monk on May 15, 2015 at 07:46 UTC | |
|
Re^2: How to strip everything in a string except HTML Link
by Anonymous Monk on May 15, 2015 at 07:08 UTC | |
|
Re^2: How to strip everything in a string except HTML Link
by Anonymous Monk on May 15, 2015 at 08:03 UTC |