$url = 'http://test.e-onestop.jp/rei.html'; $get = @file_get_contents($url); preg_match_all('/ .+?<\/table>/s’,$get,$matches); echo $matches[0][0]; echo $matches[0][1]; ?>