need help with this capture



  • can some one help me parse this part out for a source
    <td class="align-right">1,531</td>

    i want to parse out the 1,531 but it changes can someone help every thing i try just gets this part for some reason
    <td class="align-right">Level</td>

    <td>Skill</td>
    <td>Rank</td>
    <td class="align-right">Level</td>
    <td class="align-right">XP</td>
    </tr>
    </thead>
    <tr>
    <td>Overall</td>
    <td>5222</td>
    <td class="align-right">1,531</td>
    <td class="align-right">823,912,270</td>
    </tr>
    <tr>
    <td>Attack</td>
    <td>8960</td>
    <td class="align-right">99</td>
    <td class="align-right">13,177,195</td>
    </tr>
    <tr>
    <td>Defence</td>
    <td>8216</td>
    <td class="align-right">99</td>
    <td class="align-right">13,320,006</td>
    </tr>
    <tr>
    


  • @theman1240
    You can capture this with Regex

    <td>Overall<\/td>\n<td>(.*?)<\/td>\n<td class="align-right">(.*?)<
    

    as your result lies in group 2 so you have to use [2]


Log in to reply