Syntactic Confectionery Delight | |
PerlMonks |
How do I replace a URL with a clickable hyperlink?by tipthepizzaguy (Initiate) |
on Feb 14, 2002 at 08:42 UTC ( [id://145404]=perlquestion: print w/replies, xml ) | Need Help?? |
tipthepizzaguy has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (regular expressions)
Whenever there is "http://" followed by a number of characters until it reaches a space, new line, or end of file, it needs to replace it with HTML code so it becomes a clickable hyperlink.
For example, it will replace http://mydomain.com with <a href="http://mydomain.com">http://mydomain.com</a>
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|