title: How to find all urls in an HTML text with regex?
body: <p>I have the source code of a webpage held in a textbox, i would like to search the textbox and place all the links that are from that sites own domain (www.test.com) into a string list.</p>
  
  <p>Example:</p>
  
  <p>The textbox has the following links buried within the source code</p>
  
  <pre><code>a href="index.html
  a href="www.test.com/about_us.html
  a href="mailto:test@test.com
  a href="www.google.com/partners.html
  </code></pre>
  
  <p>and i want to extract the index.html and about_us.html and place them into a string list.</p>
  
  <p>Ive tried:</p>
  
  <pre><code>    For Each i As Match In Regex.Matches(TextBox2.Text, "\b" + url + "\b")
          list1.Add(i.Value)
      Next
  </code></pre>
  
  <p>but cant seem to get it to work, Any help would be greatly appreciated.</p>