title: How do I strip data from HTML tags
body: <p>Say I have data like this:</p>
  
  <pre><code>&lt;option value="abc" &gt;Test - 123&lt;/option&gt;
  &lt;option value="def" &gt;Test - 456&lt;/option&gt;
  &lt;option value="ghi" &gt;Test - 789&lt;/option&gt;
  </code></pre>
  
  <p>Using PHP, how would I sort through the HTML tags, returning all text from within the option values.  For instance, given the code above, I'd like to return 'Test - 123', 'Test - 456', 'Test - 789'.</p>
  
  <p>Thanks for the help!</p>
  
  <p><strong>UPDATE:</strong>
  So that I'm more clear - I'm using filegetcontents() to get the html from a site.  For my purposes, I'd like to be able to sort through the html, find the option values, and output them.  In this case, return 'Test - 123', 'Test - 456', etc.</p>