输入banner图图片脚本导航/分类

正则匹配file_get_contents,该如何处理

正则匹配file_get_contents
用file_get_contents过来后的内容为

HTML code
........

........


我想取得id 正则表达式怎么写比较好 望大家不吝赐教



------解决方案--------------------
直接写就是拉。
preg_match("/id: '(\d+)'/",$str,$m);
echo $m[1];
------解决方案--------------------
截取截取