ok got this far:
<?php
$url = "<a href=\"http://www.homer09001.forumer.com\">forum</a>";
$vowels = array("<a href=\"","\">"," ","</a>");
$onlyconsonants = str_replace($vowels, "", "$url");
echo $onlyconsonants;
?>
but i cant get rid of the text between "> and </a>
how do i get php to replace anything that is there?