Your technology certification is waiting. Enroll in Cloud Class ®
Public Function GetGoogleProductItems()
Dim ItemList As New List(Of String)
Using wc As New System.Net.WebClient
Dim html As String = wc.DownloadString("http://www.google.com/prdhp")
Dim patt As String = "href=""/products\?q=(.*?)&sampleq=1"
Dim Items As System.Text.RegularExpressions.MatchCollection = System.Text.RegularExpressions.Regex.Matches(html, patt)
For Each item As System.Text.RegularExpressions.Match In Items
ItemList.Add(item.Groups(1).Value.Replace("+", " "))
Open in new window
This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.