Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
<p class="TEXT">(?:(?!<br>).)*$
/
gm
Input 1
1
New
<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> <p class="TEXT">NEW SCENARIO. <br> Toto's regex is very good, but is also finds a the tag ending with <br> (but this in the next line). So, I also want not fo find those kinf of tags that ends with <br> in the next line.
Substitution
<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> <p class="TEXT">NEW SCENARIO. <br> Toto's regex is very good, but is also finds a the tag ending with <br> (but this in the next line). So, I also want not fo find those kinf of tags that ends with <br> in the next line.