例如<TR> <TD width=50></TD> <TD height="10%" vAlign=top colSpan=2 noWrap> <TABLE border=0 cellSpacing=0 cellPadding=2 width="100%"> <TBODY> <TR> <TD width="10%" align=left> <STRONG>客户名称:</STRONG></TD> <TD width="23%" align=left>彭爱农</TD> <TD width="10%" align=left><STRONG>客户标识码:</STRONG></TD> <TD width="17%" align=left>173100029864770000</TD></TR> <TR> <TD align=left> <STRONG>证件类型:</STRONG></TD> <TD align=left>本地身份证</TD> <TD align=left><STRONG>证件号码:</STRONG></TD> <TD align=left>430104751029303</TD></TR> <TR> <TD align=left> <STRONG>客户地址:</STRONG></TD> <TD align=left>长沙市西区湖南商学院北院集体宿舍</TD> <TD align=left><STRONG>客户联系号码:</STRONG></TD> <TD align=left>0731-88851456</TD></TR></TBODY></TABLE></TD></TR> <TR>
获取用户名称值:彭爱农
获取用户名称值:彭爱农
<TD id="value" width="23%" align=left>彭爱农</TD>
如果在客户端获取的话就使用javascript document.GetElementById("value").InnerHtml
如果在服务器端获取的话就在 <TD>里面再加个 runat="server"
Match match = Regex.Match(s, @"(?is)<tbody>\s*<tr[^>]*>\s*<td[^>]*>.*?</td>\s*<td[^>]*>(.*?)</td>");
Response.Write(match.Groups[1].Value);
彭爱农
<div id="a" class="b">我是B页</div>
这样写就OK了