Can anybody tell me a regular expression to use within some PHP to find the following:
-
<p> </p>with any variation of white space between those tags -
<p><br/>again with any variation of white space between those tags
Any help appreciated, thanks!
Pretty straightforward (and folks, because he’s asking for things with only whitespace between them, not nested tags or attributes or any of that, a parser isn’t necessary in this case…)