..... TEKST..... ... TAL.... ... "; preg_match_all("/.*?(.*?)<\/strong>.*?(.*?)<\/strong>.*?<\/table>/is", $html, $matches); for($i = 0; $i < count($matches[0]); $i++) { echo $matches[1][$i] . ' ' . $matches[2][$i] . "\r\n"; } ?>