title: simple html dom parser or a regular expression
body: <p>There is a html page, it contains a block:</p>
  
  <pre><code>&lt;table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"&gt;
  &lt;tr&gt;
  &lt;td class="tcat" colspan="2"&gt;
  Some regular text &lt;span class="normal"&gt;the desired text 1&lt;/span&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td class="alt1" colspan="2"&gt;
  &lt;span class="smallfont"&gt;&lt;a href="page.php?u=00001"&gt;link1&lt;/a&gt;, &lt;a href="page.php?u=00002"&gt;&lt;i&gt;&lt;b&gt;&lt;font color="#006400"&gt;link2&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;&lt;/span&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Help me to parse with simple html dom library or a regular expression, so that would be deduced only here it is:</p>
  
  <pre><code>the desired text 1 &lt;span class="smallfont"&gt;&lt;a href="page.php?u=00001"&gt;link1&lt;/a&gt;, &lt;a href="page.php?u=00002"&gt;&lt;i&gt;&lt;b&gt;&lt;font color="#006400"&gt;link2&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;&lt;/span&gt;
  </code></pre>
  
  <p>If I do this:</p>
  
  <pre><code>&lt;? 
  include 'simple_html_dom.php'; 
  $html = file_get_html('http://some-url.com/power.html'); 
  foreach($html-&gt;find('td[class="tcat"]') as $element1)  
         echo $element1. '&lt;br&gt;';  
  foreach($html-&gt;find('span[class="smallfont"]') as $element2)  
         echo $element2. '&lt;br&gt;';     
  ?&gt;
  </code></pre>
  
  <p>So, along with the necessary data also are displayed more similar elements that presents on the page. (with the same parameters 'td class="tcat"' and 'class="smallfont"')
  I need that would be deduced only that:</p>
  
  <pre><code>the desired text 1 &lt;span class="smallfont"&gt;&lt;a href="page.php?u=00001"&gt;link1&lt;/a&gt;, &lt;a href="page.php?u=00002"&gt;&lt;i&gt;&lt;b&gt;&lt;font color="#006400"&gt;link2&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;&lt;/span&gt;
  </code></pre>