I have this 4 lines, all starting with tag <p class="TEST">
and ending with tag <br>
except the last two.
<p class="TEST">My mother is at home.<br>
<p class="TEST">My father is at home.<br>
<p class="TEXT">My sister is at home.<LLbr>
<p class="TEXT">My brother is at home.<AAbr>
So, I want to find all lines with TEXT tag that doesn't ending with <br>
My output result should be
<p class="TEXT">My sister is at home.<LLbr>
<p class="TEXT">My brother is at home.<AAbr>
I made a regex, but is not too good.
(?-s)(.*<p class="TEXT">.*)(?-s)(?!)<br>(.*)$