title: PHP preg_replace RegEx remove empty paragraph tags
body: <p>The regex solution suggested on 
  <a href="https://stackoverflow.com/questions/14260670/php-regex-remove-empty-paragraph-tags?rq=1">PHP RegEx remove empty paragraph tags</a><br>
   <code>#&lt;p&gt;(\s|&amp;nbsp;|&lt;/?\s?br\s?/?&gt;)*&lt;/?p&gt;#</code>  </p>
  
  <p>fail on my example-string:<br>
       <code>&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;div align="justify"&gt;&lt;b&gt;Some Text&lt;/b&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</code>  </p>
  
  <p>and I can't figure out why.<br>
  See Live Regex here
  <a href="http://www.phpliveregex.com/p/6ID" rel="nofollow noreferrer">http://www.phpliveregex.com/p/6ID</a></p>