mega -
hmm, looks like I'm having to study up on preg's - that looks martian to me!
anyway, after altering the code (replacing </a> with >) and then doing an ereg_replace("</a>", "", $string), I was able to remove all <a> tags, while keeping the link text in tact (your code removed all the link text)
thanks!
anyone have a good pointer to learn preg expressions (perl regexp?)?