For my BB tags that create the to <a href=""> tag, where am I going wrong? $text = ereg_replace('[url=]','<a href=>',$text); $text = ereg_replace('[/url]','</a>',$text); and then back to BB: $text = ereg_replace('<a href=>','[url=]',$text); $text = ereg_replace('</a>','[/url]',$text); Any help please? ( the [/a] part works, I'm just having probelms with the making of links!)