<td class=tdn>1 </td>
<td class=d> <a href="http://202.108.23.172/m?ct=134217728&tn=baidusg,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216&sgid=1" title="请点击左键!来源网址: http://file.99.cn 请参照百度权利声明使用" onclick="return ow(event,this)" target="_blank"> <font style=color:#e10900>让爱靠近 </font> 01 99 cn </a> </td>
<td> <a href="http://mp3.baidu.com/singerlist/%C2%DE%D6%D0%D0%F1.html" target="_blank"> <font style=color:#e10900>罗中旭 </font> </a> <a href="http://mp3.baidu.com/singerlist/.html" target="_blank"> </a> <a href="http://mp3.baidu.com/singerlist/.html" target="_blank"> </a> </td>
<td class=al> <a href="http://mp3.baidu.com/albumlist/%C2%DE%D6%D0%D0%F1;;;;;;%C8%C3%B0%AE%BF%BF%BD%FC.html" target="_blank"> <font style=color:#e10900>让爱靠近 </font> </a> </td>
<td> <a href="http://box.zhangmen.baidu.com/m?gate=1&ct=134217728&tn=baidumt,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216" onclick="return ot(event,this,'277647')">试听 </a> </td>
<td> <a href="http://mp3.baidu.com/m?tn=baidump3lyric&word=%C2%DE%D6%D0%D0%F1+%C8%C3%B0%AE%BF%BF%BD%FC&ct=150994944&lm=-1&lf=3" target="_blank">歌词 </a> </td>
<td> </td>
<td>3.8 M </td>
<td>mp3 </td>
<td class=spd> <img src="http://img.baidu.com/img/mp3/d9.gif"> </td> 需求是得到:
<td> <a href="http://box.zhangmen.baidu.com/m?gate=1&ct=134217728&tn=baidumt,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216" onclick="return ot(event,this,'277647')">试听 </a> </td>
里 <a>标签href的URL。
希望高手给出正则来。
<td class=d> <a href="http://202.108.23.172/m?ct=134217728&tn=baidusg,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216&sgid=1" title="请点击左键!来源网址: http://file.99.cn 请参照百度权利声明使用" onclick="return ow(event,this)" target="_blank"> <font style=color:#e10900>让爱靠近 </font> 01 99 cn </a> </td>
<td> <a href="http://mp3.baidu.com/singerlist/%C2%DE%D6%D0%D0%F1.html" target="_blank"> <font style=color:#e10900>罗中旭 </font> </a> <a href="http://mp3.baidu.com/singerlist/.html" target="_blank"> </a> <a href="http://mp3.baidu.com/singerlist/.html" target="_blank"> </a> </td>
<td class=al> <a href="http://mp3.baidu.com/albumlist/%C2%DE%D6%D0%D0%F1;;;;;;%C8%C3%B0%AE%BF%BF%BD%FC.html" target="_blank"> <font style=color:#e10900>让爱靠近 </font> </a> </td>
<td> <a href="http://box.zhangmen.baidu.com/m?gate=1&ct=134217728&tn=baidumt,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216" onclick="return ot(event,this,'277647')">试听 </a> </td>
<td> <a href="http://mp3.baidu.com/m?tn=baidump3lyric&word=%C2%DE%D6%D0%D0%F1+%C8%C3%B0%AE%BF%BF%BD%FC&ct=150994944&lm=-1&lf=3" target="_blank">歌词 </a> </td>
<td> </td>
<td>3.8 M </td>
<td>mp3 </td>
<td class=spd> <img src="http://img.baidu.com/img/mp3/d9.gif"> </td> 需求是得到:
<td> <a href="http://box.zhangmen.baidu.com/m?gate=1&ct=134217728&tn=baidumt,让爱靠近 01 99 cn&word=mp3,http://file.99.cn/15/dalu/nangeshou/200807/rangaikaojin/YWMz.mp3,,[%C8%C3%B0%AE%BF%BF%BD%FC+%C2%DE%D6%D0%D0%F1]&si=%C8%C3%B0%AE%BF%BF%BD%FC;;%C2%DE%D6%D0%D0%F1;;277647;;277647&lm=16777216" onclick="return ot(event,this,'277647')">试听 </a> </td>
里 <a>标签href的URL。
希望高手给出正则来。
解决方案 »
- 关于屏蔽窗口中鼠标右键中莫一个功能的问题
- 主窗口怎么调用子窗口的控件?谢谢各位大侠拉
- Winform ComboBox [选择与显示] 再来100分继续问 不急 就当个课余题做
- 关于DataGridView填充字段问题
- 大侠们!如何使用axWindowsMediaPlayer1来实现循环播放!
- select * from datatable 怎么写
- 寻求网络打印机的程序,打印机是通过网线,具有独立ip的那种
- c#控件(StatusBar)的时间显示问题
- 5.1无聊花半天时间做的验证码的识别工具,对特定验证码的识别率超99%,纯分享,欢迎大家指导改进
- 想做这样一个功能,大家能不能给个思路
- 读取XML文件的问题
- 用C#怎样判断本机是否安装了OUTLOOK2003???
Regex re = new Regex(@"(?<=<td> <a href="").*?(?=""\so)", RegexOptions.None);
Regex reg=new Regex("<td> <a href=[^>]+?>试听 </a>[^>]+?</td>");
if (m.Success)
{
MessageBox.Show(m.Value);
}
href="(?<value>[^"]*)"
参考分组