Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
the problem is that my code only find the first url:
$data is a full html page.$data =~ /someurl.com(.*?)(\s|\<|\n|\'|\")/gsi;
What I'm doing wrong, Is there a way to get all the urls with one RE or I must go line per line
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expression
by Anonymous Monk on Aug 06, 2009 at 15:50 UTC | |
by Anonymous Monk on Aug 07, 2009 at 15:46 UTC |