if (preg_match_all(“#<tr[^>]*>(.*?)</tr>#is”, $html, $matches)) { foreach ($matches[1] as $linha) { if (preg_match_all(“#<td[^>]*>(.*?)</td>#is”, $linha, $mat)) { foreach ($mat[1] as $col) { // em $row está o conteúdo dos tds desta linha var_dump($col); } } } } else { echo ‘<h3>Nada encontrado!</h3>’;Read More