PHP: function that will replace textual URLs with HTML links, this also works for email addresses.