匹配全部$regex="/<div class=\"tideTable\"(.*?)>(.*?)<\/div>/ism"; preg_match_all($regex, $return, $matches) print_r($matches);