<?php $buffer = "你读取的内容"; preg_match_all('/<table>(.+?)<\/table>/is',$buffer,$array); print_r($array); ?> ;