title: Get HTML tag from a string
body: <p>What is the best and cleanest way of getting a html tag from a string?</p>
  
  <p>I have a string of html with several embed tags containing videos. There can be any number of embed tag in the html string</p>
  
  <p>I guess i could do something like this but it can't be the best way:</p>
  
  <pre><code>string embedSrc = propertyText.Substring(propertyText.IndexOf("&lt;embed"), (propertyText.IndexOf  ("&lt;/embed") - propertyText.IndexOf("&lt;embed") + 8));
  </code></pre>