Hi, thanks very much for your reply.
I seem to be getting a parse error though, on line 5?
<?php
function linkparse($code)
{
$code=ereg_replace("\n","",$code);
preg_match_all('/([url]http://[/url][^s\"']*)/is',$code,$out);
$savedLinks=$out[0];
return $savedLinks;
}
?>
It's the preg_match_all line that seems to be wrong, but I'm not too sure on what it is.
Please could anybody help?
Thanks very much,
Mike