more useful options | |
PerlMonks |
Re: replace url in text with html linkby thealienz1 (Pilgrim) |
on May 24, 2005 at 16:03 UTC ( [id://460059]=note: print w/replies, xml ) | Need Help?? |
My final soultion involved modifying yours to incoporate other punctuation. $output =~ s#(https?://\S+?)(\.?[\s\<,])#<a href="$1">$1</a>$2#igs;Thank you for your quick repsonses.
In Section
Seekers of Perl Wisdom
|
|