![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: Grepping out stringsby manigandans (Initiate) |
on Feb 02, 2005 at 13:19 UTC ( #427237=note: print w/replies, xml ) | Need Help?? |
Hi Tom, Assume that $data has the long string you've specified and try out the following regexp: my @output = ($data =~ /www.\S+\.com/g); print join ("\n", @output); Mani
In Section
Seekers of Perl Wisdom
|
|