Welcome to WebmasterWorld Guest from 188.8.131.52
I have some large parts of text with URLs in it (but without hyperlinks). I need to add links to all URLs but have no idea about how to do that, so i'm asking for your help in the hope that someone have done it already and can share the code with others or is just a PHP wizard ;)
So how can i detect an URL (like [whatever.com)...] in a text and add hyperlink tags to it so it looks like
< a href=http://www.whatever.com >http://www.whatever.com< /a >
Please help :)
There ya go! That came directly from the PHP manual page for ereg_replace [us2.php.net].