php 获取网页内指定内容

2025-04-13 18:37:35
推荐回答(1个)
回答1:

$preg='/(.*?)<\/table>/';
preg_match($preg,$getcontent,$arr);
echo $arr[0];