I'm trying to match all text (including special chars and markup tags) between two tags, but, when there are two matches on the same line, the regex considers as one match.
I stopped with this expression:
(?<=<br><i>)[^<\/i>].*(?=<\/i><br>)
Beginning tag:
<br><i>
End tag:
</i><br>
It works with an html containing this:
<br><i>"hello olá - ok@tchau"</i><br>
<br><i>"another text"</i><br>
But with this html it doesn't work:
<br><i>"hello"</i><br><br><i>"ok"</i><br>