in reply to replace url in text with html link
my $html = do { local $/; <DATA> }; $html =~ s!(https*:\S*?)(\.*?\s)!<a href="$1">$1</a>$2!gm; print $html; __DATA__ Students can activate their UMSIS userids on-line by filling out and s +ubmitting the form at https://umsis.miami.edu/sign-up. ...which can be obtained via the web at http://www.miami.edu/it-forms/ +.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: replace url in text with html link
by davidrw (Prior) on May 24, 2005 at 16:27 UTC |