I'm having trouble with a Regex query, it's not only catching 1 de 8
as I wish, it's taking a lot more of it, see: link
This is the string I'm trying to match:
<span class='pages'>1 de 8</span><span class='current'>1</span><a class="page larger" href="http://megafilmeshd.net/category/lancamentos/page/2/">2</a><a class="page larger" href="http://megafilmeshd.net/category/lancamentos/page/3/">3</a><span class='extend'>...</span>
and regex:
<span class='pages'>(.*)<\/span>