PHP Regex running well - now i need some tailoring
<p>Good evening dear community, </p>

<p>i need some help with preg_match - i want to optimize the code that allready runs very well!  i want to get ony the results  - not the overhead of HTML-tags in the result
That means i have to tailor the regex a bit. How can i improve the (allready very nice) code!?</p>

<pre><code>&lt;?php

$content = file_get_contents("&lt; - URL - &gt;");

var_dump($content);

$pattern = '/&lt;td&gt;(.*?)&lt;\/td&gt;/si';
preg_match_all($pattern,$content,$matches);

foreach ($matches[1] as $match) {
    $match = strip_tags($match);
    $match = trim($match);
    var_dump($match);
}

?&gt;
</code></pre>

<p>See here the url: <a href="http://www.schulministerium.nrw.de/BP/SchuleSuchen?action=348.4490857628354&amp;SchulAdresseMapDO=142426" rel="nofollow">link text</a></p>

<p>Hmm - i need to tailor the regex a bit... Cany anybody give me. </p>

<p>Each idea and tipp will be greatly appreciated
regards
zero</p>
