It is as follows, using the following expression:
<div class="teste">(.+?)</div>
And that's the content, for example:
<div class="teste">asdasdad<div>zxczxczxc</div>lkjlkjjlkj</div><div>asdasd</div>
I would like it to take the correct div, ie:
<div class="teste">asdasdad<div>zxczxczxc</div>lkjlkjjlkj</div>
But it returns to the first < / div>:
<div class="teste">asdasdad<div>zxczxczxc</div>
Does anyone know what it can be?
NOTE: I'm doing this in java (android)