Jump to content

Recommended Posts

Posted

I have this:

<td align="right" valign="top" class="rankingHeader">Random:</td>
<td align="middle" valign="top" class="rankingRow">0</td>
<td align="middle" valign="top" class="rankingRow">5</td>
<td align="middle" valign="top" class="rankingRow">0.00 %</td>

how to get ''0'' and ''5'' with StringRegExp??

Posted

Not sure about RegExp but you could get the source and do a StringBetween() or StringInStr(). You should also try out the tester made by szhlopp.

Posted

nevermind I resolved right this:

$PosR = StringInStr($Source, 'Random:')
$PosR = StringRegExp($Source, '"rankingRow">(.*?)</(?i)td>', 3, $PosR)
MsgBox(0, '', $PosR[0] & @LF & $PosR[1])

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...