title: Extract Google Search Results with titles
body: <p>I want to ask how to extract text and urls from google search results as the same as is in google .
  I have only this code but i do not know how make vb.net regex.
  Everything what i need only to know how to extract text and urls.
  Or you can suggest other regex code but to do that for the same as in the examples.</p>
  
  <p>Example:</p>
  
  <p><img src="https://i.stack.imgur.com/uWmP6.jpg" alt="enter image description here">  </p>
  
  <p>Text - <code>&lt;h3 class="r"&gt;&lt;a href="http://www..com/"&gt;&lt;b&gt;Welcome to dog training courses&lt;/b&gt;&lt;/a&gt;</code></p>
  
  <p>Url - <code>&lt;a href="http://..com/"&gt;Any link&lt;/a&gt;</code></p>
  
  <p>example:</p>
  
  <p>Text - <code>Welcome to dog training courses</code><br>
  Url -  <code>www.dogtraining.com</code></p>
  
  <p>Text - <code>Welcome to Learning About Dogs</code><br>
  Url -  <code>www.learningaboutdogs.com</code></p>
  
  <pre>
  ListBox1.Items.Clear()
          Dim wc As New WebClient
          Dim source As String = wc.DownloadString("http://www.google.com/search?&q=" + TextBox1.Text)
          Dim m1 As MatchCollection = Regex.Matches(source, "", RegexOptions.Singleline + RegexOptions.IgnoreCase)
          For Each m As Match In m1
              Dim value As String = m.Groups(0).Value
  
  
              If Not value.Contains("google") Then
                  ListBox1.Items.Add(value)
              End If
          Next
  </pre>