Im trying to write a program that takes specific information out of HTML code from a webpage. Ive been able to "scrape" the website to get the HTML from doing this:
Code:
Public Sub DownloadFile()
Dim wClient As New WebClient
Dim bytes() As Byte
bytes = wClient.DownloadData("http://www.link.com")
richtextbox1.Text = System.Text.Encoding.Default.GetString(bytes)
End Sub
Suppose there is a string of text in the HTML that is "ABCD12345EFG" and I want to locate that text and store it in a string variable. I need to know how to use the regular expressions to find and store the desired text and display it into a textbox. I am very new to programming and using regular expressions.
Thanks for any help,
James