Using preg_replace in php for whitespace between <br/> and <p> tags

Posted by Prime Studios on Stack Overflow See other posts from Stack Overflow or by Prime Studios
Published on 2010-03-23T15:19:10Z Indexed on 2010/03/23 15:23 UTC
Read the original article Hit count: 194

Filed under:
|

I need to remove this string if found in my string:

<p><br/>   </p>

Cant replace this:

<p><br/>Test.   </p>

The whitespace expression I am using wasn't working for that, thank you for your help!

© Stack Overflow or respective owner

Related posts about php

Related posts about whitespace