I have this HTML:
<div>
here a long text1 ...
<br>
<br>
here some more text2 ...
<br>
<br>
Here also text3 ..
<br>
<br>
Here text4 and so forth
</div>
I only want the text before the 4th br tag and maybe also the br tags itself. Like this:
here a long text1 ...
<br>
<br>
here some more text2 ...
<br>
<br>
What is the correct xpath for this?