我get 获得HTML 源码,需要写正则表达式 比配
<td nowrap style="font-family:Verdana;font-size:11pt;">
获得这里里面的内容</td>里面有很多这样的标签
postStr = "<td nowrap style=\"font-family:Verdana;font-size:11pt;\">.*?</td>";
这样写不正确吗?
<td nowrap style="font-family:Verdana;font-size:11pt;">
获得这里里面的内容</td>里面有很多这样的标签
postStr = "<td nowrap style=\"font-family:Verdana;font-size:11pt;\">.*?</td>";
这样写不正确吗?
解决方案 »
- 请教 c#中使用DeviceIoControl通过IIC对E2PROM进行读写
- 内存太大了
- 【急】求一个算法,把一数字和字母的混合字符串(16位)生成一个16位的数字
- 讨论 水晶报表的数据重新绑定
- MulticastDelegate.GetInvocationList能对一个事件用吗?
- 100分求Visual Studio Tools for Microsoft Office开发包!
- vs2010,office2007,C#,winform,在程序窗体中打开excel文件 [问题点数:100分]
- 请问企业库的数据访问类库如何执行带参数的sql语句?
- 对DataGrid选择出来的内容整体删除
- C# 如何请求HTTPS这种的图片地址呀。比如微信临时二维码这种的
- c# 文件按时间分组
- 求 需求分析 的书写规范 或者 模板
MatchCollection mc = reg.Matches(yourStr);
foreach (Match m in mc)
{
richTextBox2.Text += m.Groups[1].Value + "\n";
}