How can i remove the link and remain with the text?
text text text.
One more short solution without regexps:
function remove_links($s){ while(TRUE){ @list($pre,$mid) = explode('',$mid,2); $s = $pre.$post; if (is_null($post))return $s; } } ?>