<br>Aggie<br><br>John<br><p>Hello world</p><br>Mary<br><br><b>Peter</b><br>
I'd like to create a regexp that safely matches these:
<br>Aggie<br>
<br>John<br>
<br>Mary<br>
<br><b>Peter</b><br>
This is possible that there are other tags (e.g. <i>
,<strike>
...etc ) between each pair of <br>
and they have to be collected just like the <br><b>Peter</b><br>
How should the regexp look like?