日期:2014-05-17  浏览次数:20917 次

求教100分:如何利用正则表达式得到html代码里我需要的内容?
<table   width= "221 "   height= "39 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
  <tr>
    <td   width= "111 "   align= "center "   valign= "top "> <img   src= "../images/a1.gif "   width= "70 "   height= "65 "> </td>
    <td   width= "110 "   align= "center "   valign= "top "> <img   src= "../images/a0.gif "   width= "70 "   height= "65 "> </td>
</tr>
</table>

<table   width= "221 "   height= "55 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>

    <td   width= "215 "   align= "center "   valign= "middle "> <span   class= "big-cn "> 求职人员 </span> </td>
</tr>
</table>

<table   width= "221 "   height= "33 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>
    <td   width= "215 "   align= "center "   valign= "middle "> <span   class= "cn "> 25岁 </span> </td>
</tr>
</table>

<table   width= "221 "   height= "39 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>
    <td   width= "111 "   align= "center "   valign= "top "> <img   src= "../images/a2.gif "   width= "70 "   height= "65 "> </td>
    <td   width= "110 "   align= "center "   valign= "top "> <img   src= "../images/a0.gif "   width= "70 "   height= "65 "> </td>
</tr>
</table>

<table   width= "221 "   height= "55 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>

    <td   width= "215 "   align= "center "   valign= "middle "> <span   class= "big-cn "> 经理 </span> </td>
</tr>
</table>

<table   width= "221 "   height= "33 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>
    <td   width= "215 "   align= "center "   valign= "middle "> <span   class= "cn "> 30岁 </span> </td>
</tr>
</table>

<table   width= "221 "   height= "39 "     border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
<tr>
    <td   width= "111 "   align= "center "   valign= "top "> <img   src= "../images/a1.gif "   width= "70 "   height= "65 &