Consider the following code:
<span class="test"><span style="color:green">Teste</span>:</span> Text<br><br>
<span class="test"><span style="color:green">Mais</span>:</span> Text<br><br>
<span class="test"><span style="color:green">Número</span>:</span> 250<br><br>
How do I separate that number (250) next to the word "Number" to be treated later in Javascript? I think it's possible with regular expressions, but I could not make the effect ...
The span
can repeat infinitely, and I need to look for the number that comes soon after.