I have a line of text like this...
<p>example<br /><br /><br /></p><br />
where the number of br tags before and after the </p> tag are unknown. I need the line displayed like this...
<p>example</p><br /><br /></br /><br />
I need it in the preg_replace, where the part of the line begining with <p>example is untouched. Thank you in advanced.