str_replace html code: simple?

Hey,

this is probably an easy problem to solve but here’s the deal:

i’m using str_replace to get rid of extra (unneeded) breaks (<br />) from a string, but it’s not working. in this case, i want to remove the first <br /> after <hr />. here’s a sample of $str:

<div class='h1'> Welcome to the Actionscript 2.0 Wiki </div><hr />
<br />View the <a href="wiki.php?id=todo">todo</a> list for future changes.
<br />
<br /><b>Why...
$str = str_replace("<hr /><br />","<hr />",$str);

What i’m trying to do is replace the <hr /><br /> with JUST <hr />. However, i guess i need something else in between “<hr /><br />” in the above code?

Thanks in advance
Matt :book: