Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Grepping out strings

by g0n (Priest)
on Feb 02, 2005 at 13:11 UTC ( [id://427232] : note . print w/replies, xml ) Need Help??

in reply to Grepping out strings

$_ =~ /(http:\/\/[\w\.]+)/g;

seems to work OK for URLs starting http://, but that doesn't match as that doesn't have a http prefix in your example string.