Strings Php

$url = "rntsoft (http://www.rntsoft.com)";
$url = ereg_replace("http://(([A–Za–z0–9.\-])*)", "\\0",$url);
print $url;
?>