in reply to
Grepping out strings
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
Comment on
Re: Grepping out strings
In Section
Seekers of Perl Wisdom