in reply to Re: Creating links in the URLs in a text paragraph
in thread Creating links in the URLs in a text paragraph
that subroutine works...sub GetLinks { $text = shift; use Regexp::Common; $text =~ s[($RE{URI}{HTTP})] [<a href = "$1" target="_blank">$1</a>]g; return($text); }
|
---|