Jump to content

Extract value from html


Recommended Posts

Use regular expressions:

$string = 'tv">113</td>'
    $array = StringRegExp($string, '(?i)tv">(.*?)</(?i)td>', 1)
    For $i = 0 to UBound($array) - 1
        $result = $array[$i]
    Next
    MsgBox(0,"Result:","Result = " & $result)

Read up on regular expressions in the help file, they are awesome.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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