Online PHP Coaching
[php] $text = "This is http://www.phpcoaching.in site"; echo $text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "\\0", $text); [/php]