Javascript REGEX

Posted by Fernando SBS on Stack Overflow See other posts from Stack Overflow or by Fernando SBS
Published on 2010-05-17T18:19:41Z Indexed on 2010/05/17 20:30 UTC
Read the original article Hit count: 271

Filed under:
|
<th>Prêmio</th>
    <td colspan="11">
    <div class="res"><img class="r1" src="img/x.gif" alt="Madeira" title="Madeira" />215 | <img class="r2" src="img/x.gif" alt="Barro" title="Barro" />193 | <img class="r3" src="img/x.gif" alt="Ferro" title="Ferro" />192 | <img class="r4" src="img/x.gif" alt="Cereal" title="Cereal" />202</div><div class="carry"><img class="car" src="img/x.gif" alt="carregamento" title="carregamento" />802/1800</div></td></tr></tbody></table><table cellpadding="1" cellspacing="1" class="defender">
    <thead>
    <tr>

i'm trying to get "802/1800", but it's driving me insane. if I use:

var myregexp = /title="carregamento"/;

it works

but going to the next step which is:

var myregexp = /title="carregamento" \/>/

already returs me null.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex