Hello again
I've only learned about Regex recently, when I say that I mean since yesterday lol. Anyway, I'm trying to grab video IDs from a website, and I can get it to grab the whole of it like so: "video0000/0/hello_there" but I want to grab from here: vid"eo0000/0/hello_there" but I can't get it to work :/
Can anyone see where I'm going wrong?
If you need to see anymore of the code, let me know, thanks
Can anyone see where I'm going wrong?
Code:
Dim vidurl As New System.Text.RegularExpressions.Regex("<p><a href=""/vid.*/0/.*"">")
Dim matches As MatchCollection = vidurl.Matches(vidid)
For Each videoid As Match In matches
ListBox1.Items.Add(videoid.Value.Split("""").GetValue(1))
If you need to see anymore of the code, let me know, thanks