HTML: linker.class.php
BrettsBSD.net (contact me)
Parses a string that contains URLs or email addresses, and automatically replaces them with html link code. You can also easily change the format of a link.
This is intelligent in that it uses regular expresses to extract URLs and email address even if within punctuation such as parenthesis or up against an ending punctuation character such as a period, semi-colon, etc.
See the linkerTest.php for its implementation.
Click here for detailed information about this class on phpclasses.org