Hello, so i'm having problem with Regex. I'm trying to use to put names in a checkboxlist. But the page where i want the names from have to be accesed by login in on the website. But the regex doesnt read from the VB WebBrowser it reads from... the internet(?) SO long story Short "How can i make A regex find the names from The VB Webbrowser, So i can log in on the VB WebBrowser and navigate to the page to find the names. Excuse me if i'm bad at explaining.
Also here is my general Regex code i dont know if it's suitable, as it hasn't really worked for places other than where it was used in the Video Tutorial i saw (...Runescape.) I don't play runescape By the way.
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://services.runescape.com/m=itemdb_rs/frontpage.ws")
Dim response As System.Net.HttpWebResponse = request.GetResponse
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
Dim rssourcecode As String = sr.ReadToEnd
Dim r As New System.Text.RegularExpressions.Regex("<img name=""object"" src=""http://services.runescape.com/m=itemdb_rs/.*"" alt="".*"">")
Dim matches As MatchCollection = r.Matches(rssourcecode)
For Each itemcode As Match In matches
CheckedListBox1.Items.Add(itemcode.Value.Split("""").GetValue(5))
and ofcourse
Imports System.Text.RegularExpressions
at the very top.
Thank you in advance :)