Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: REGEX for url

by tangent (Vicar)
on Apr 25, 2016 at 22:15 UTC ( #1161489=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use HTML::TreeBuilder::XPath;
    
    ...
    for my $link ( @links ){
        print $link->attr('href'), "\n";
    }
    
  2. or download this
    my @links = $tree->findnodes('//td/a') ;
    for my $link ( @links ){
        print $link->attr('href'), "\n";
    }
    
  3. or download this
    /Archives/edgar/data/1050122/000092735601000365/0000927356-01-000365-0
    +001.txt
    /Archives/edgar/data/1050122/000092735601000365/0000927356-01-000365-0
    +002.txt
    ...
    /Archives/edgar/data/1050122/000092735601000365/0000927356-01-000365-0
    +009.txt
    /Archives/edgar/data/1050122/000092735601000365/0000927356-01-000365-0
    +010.txt
    /Archives/edgar/data/1050122/000092735601000365/0000927356-01-000365.t
    +xt
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2022-05-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?