怎样用preg_match_all匹配DIV里面的<a href="#" title="开课编号">title的值:<div id="kb" align="center" style="overflow: auto; height: 400">
<table border=1 width=98% height=80% bordercolorlight=#588FC7 cellspacing=0 cellpadding=0 bordercolor=#588FC7 bordercolordark=#ffffff height=88><tr><td width=90 height=28 align=center>
<a href=# onclick='window.print()'>课表</a>
<td width=90 height=28 align='center' ><nobr> <a href='#' title='开课编号'>020203</a>
<td width=90 height=28 align='center' ><nobr> <a href='#' title='课程编码'>计算机操作技能</a>
</div>
<table border=1 width=98% height=80% bordercolorlight=#588FC7 cellspacing=0 cellpadding=0 bordercolor=#588FC7 bordercolordark=#ffffff height=88><tr><td width=90 height=28 align=center>
<a href=# onclick='window.print()'>课表</a>
<td width=90 height=28 align='center' ><nobr> <a href='#' title='开课编号'>020203</a>
<td width=90 height=28 align='center' ><nobr> <a href='#' title='课程编码'>计算机操作技能</a>
</div>
preg_match_all("#<a[^>]*title='([^']+?)'#",$s,$m);
print_r($m[1]);
/*
Array
(
[0] => 开课编号
[1] => 课程编码
)
*/