Alright, so I have the following output:
<p style="margin-top: 0">
</p>
that I want to be replaced with <br />
. I have the following code:
string.replaceAll("<p([^>]*)></p>","<br/>");
What would I need to put between the > and < tags in order to replace only paragraph tags that have white space? That is, no characters or number between them.
Thanks