How can I single out a string that is set as an URL within a string or other text. Such as an article.
Goal is to auto link any items containing [url]http://[/url] or .com, .net, etc.
Please just post a snippet and not a whole page. I have tried:
ereg_replace();
str_replace();
but I am doing something wrong.