title: get url from HTML string
body: <p>I have the following code that grabs a div element:</p>
  
  <pre><code>For Each ele As HtmlElement In WebBrowser1.Document.GetElementsByTagName("div")
          If ele.GetAttribute("className").Contains("description") Then
              Dim content As String = ele.InnerHtml
              If content.Contains("http://myserver.com/image/check.png") Then
      'Do stuff if image exists
              Else
      'Do stuff if image doesn't exist
              End If
          End If
  </code></pre>
  
  <p>The div element looks like this:</p>
  
  <pre><code>&lt;DIV class=headline&gt;&lt;SPAN class=blue-title-lg&gt;TITLE_HERE
  &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LOCATION1_HERE,&amp;nbsp;LOCATION2_HERE&lt;/DIV&gt;DESCRIPTION_HERE&lt;BR&gt;
  &lt;DIV class=about&gt;&lt;A class=link href="viewprofile.aspx?
  profile_id=00000000"&gt;USERNAME&lt;/A&gt;&amp;nbsp;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FSM - 
  Friends&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color=green&gt;Online Today&lt;/FONT&gt;&lt;/DIV&gt;
  </code></pre>
  
  <p>When the tick image doesn't exist, I want to grab the url that's in:</p>
  
  <pre><code>&lt;a class=link href="viewprofile.aspx?profile_id=00000000"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>and put it into a string. This is where I've hit a brick wall and I need some help. I'd imagine a regex solution would resolve my issue, but regex is one of my weak spots. Can someone put me out of my misery? </p>