开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 1875|回复: 4
收起左侧

[已解决] 求大神帮忙此正则表达式的问题.。。

 关闭 [复制链接]
结帖率:50% (1/2)
发表于 2013-5-24 08:49:49 | 显示全部楼层 |阅读模式   广东省佛山市
100精币
帮朋友弄一个表格提取。
可是我也是刚接触正则,还不怎么懂。。。。

将数据正则提取出来后分别置到两个超级列表框或高级表格。。
因为 本周 跟上周的数据是分开的
各位大神帮忙看看- -小生在此先感谢了!
下面是源文本
  1. <body>
  2. <table border="0" cellpadding="0" cellspacing="1" class="t_list">
  3. <tr>
  4. <td class="t_list_caption" width="150">交易日期</td>
  5. <td class="t_list_caption" width="82">出售笔数</td>
  6. <td class="t_list_caption" width="130">单价</td>
  7. <td class="t_list_caption" width="120">资金明细</td>
  8. <td class="t_list_caption" width="90">个人所得税</td>
  9. <td class="t_list_caption" width="120">税后结果</td>
  10. </tr>

  11. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  12. <td>05-13 星期一</td><td>0</td>
  13. <td class='f_right'>0 </td>
  14. <td class='f_right'>0.0 </td>
  15. <td class='f_right'>0.0 </td>
  16. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-13' class='Font_R'>0.0</a> </td>

  17. </tr>

  18. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  19. <td>05-14 星期二</td><td>0</td>
  20. <td class='f_right'>0 </td>
  21. <td class='f_right'>0.0 </td>
  22. <td class='f_right'>0.0 </td>
  23. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-14' class='Font_R'>0.0</a> </td>

  24. </tr>

  25. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  26. <td>05-15 星期三</td><td>0</td>
  27. <td class='f_right'>0 </td>
  28. <td class='f_right'>0.0 </td>
  29. <td class='f_right'>0.0 </td>
  30. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-15' class='Font_R'>0.0</a> </td>

  31. </tr>

  32. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  33. <td>05-16 星期四</td><td>0</td>
  34. <td class='f_right'>0 </td>
  35. <td class='f_right'>0.0 </td>
  36. <td class='f_right'>0.0 </td>
  37. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-16' class='Font_R'>0.0</a> </td>

  38. </tr>

  39. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  40. <td>05-17 星期五</td><td>0</td>
  41. <td class='f_right'>0 </td>
  42. <td class='f_right'>0.0 </td>
  43. <td class='f_right'>0.0 </td>
  44. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-17' class='Font_R'>0.0</a> </td>

  45. </tr>

  46. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  47. <td>05-18 星期六</td><td>0</td>
  48. <td class='f_right'>0 </td>
  49. <td class='f_right'>0.0 </td>
  50. <td class='f_right'>0.0 </td>
  51. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-18' class='Font_R'>0.0</a> </td>

  52. </tr>

  53. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  54. <td>05-19 星期日</td><td>0</td>
  55. <td class='f_right'>0 </td>
  56. <td class='f_right'>0.0 </td>
  57. <td class='f_right'>0.0 </td>
  58. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-19' class='Font_R'>0.0</a> </td>

  59. </tr>

  60. <tr class="t_list_bottom">
  61. <td class="t_list_bottom F_bold">上周</td>
  62. <td class="t_list_bottom">0</td>
  63. <td class="t_list_bottom f_right">0 </td>
  64. <td class="t_list_bottom f_right">0.0 </td>
  65. <td class="t_list_bottom f_right">0.0 </td>
  66. <td class="t_list_bottom f_right"><span class="F_bold">0.0</span> </td>
  67. </tr>
  68. </table>


  69. <table border="0" cellpadding="0" cellspacing="1" class="t_list">
  70. <tr>
  71. <td class="t_list_caption" width="150">交易日期</td>
  72. <td class="t_list_caption" width="82">出售笔数</td>
  73. <td class="t_list_caption" width="130">单价</td>
  74. <td class="t_list_caption" width="120">资金明细</td>
  75. <td class="t_list_caption" width="90">个人所得税</td>
  76. <td class="t_list_caption" width="120">税后结果</td>
  77. </tr>

  78. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  79. <td>05-20 星期一</td><td>0</td>
  80. <td class='f_right'>0 </td>
  81. <td class='f_right'>0.0 </td>
  82. <td class='f_right'>0.0 </td>
  83. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-20' class='Font_R'>0.0</a> </td>

  84. </tr>

  85. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  86. <td>05-21 星期二</td><td>0</td>
  87. <td class='f_right'>0 </td>
  88. <td class='f_right'>0.0 </td>
  89. <td class='f_right'>0.0 </td>
  90. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-21' class='Font_R'>0.0</a> </td>

  91. </tr>

  92. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  93. <td>05-22 星期三</td><td>0</td>
  94. <td class='f_right'>0 </td>
  95. <td class='f_right'>0.0 </td>
  96. <td class='f_right'>0.0 </td>
  97. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-22' class='Font_R'>0.0</a> </td>

  98. </tr>

  99. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  100. <td>05-23 星期四</td><td>37</td>
  101. <td class='f_right'>8915.0 </td>
  102. <td class='f_right'>2606.1 </td>
  103. <td class='f_right'>0.0 </td>
  104. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-23&UVID=1612' class='Font_R F_bold'>2,606.1</a> </td>

  105. </tr>

  106. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  107. <td>05-24 星期五</td><td>0</td>
  108. <td class='f_right'>0 </td>
  109. <td class='f_right'>0.0 </td>
  110. <td class='f_right'>0.0 </td>
  111. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-24' class='Font_R'>0.0</a> </td>

  112. </tr>

  113. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  114. <td>05-25 星期六</td><td>0</td>
  115. <td class='f_right'>0 </td>
  116. <td class='f_right'>0.0 </td>
  117. <td class='f_right'>0.0 </td>
  118. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-25' class='Font_R'>0.0</a> </td>

  119. </tr>

  120. <tr class="t_list_tr_0" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFFFA2'">
  121. <td>05-26 星期日</td><td>0</td>
  122. <td class='f_right'>0 </td>
  123. <td class='f_right'>0.0 </td>
  124. <td class='f_right'>0.0 </td>
  125. <td class='f_right'><a href='Report_JeuYJS.aspx?LT=3&FindDate=2013-05-26' class='Font_R'>0.0</a> </td>

  126. </tr>

  127. <tr class="t_list_bottom">
  128. <td class="t_list_bottom F_bold">本周</td>
  129. <td class="t_list_bottom">37</td>
  130. <td class="t_list_bottom f_right">8,915 </td>
  131. <td class="t_list_bottom f_right">2,606.1 </td>
  132. <td class="t_list_bottom f_right">0.0 </td>
  133. <td class="t_list_bottom f_right"><span class="F_bold">2,606.1</span> </td>
  134. </tr>
  135. </table>

  136. <script type="text/javascript">
  137. if (parent.frames["leftFrame"].location.toString().indexOf("L_UserInfo")==-1){
  138. parent.frames["leftFrame"].location="L_UserInfo.aspx";
  139. }
  140. parent.topFrame.Select_MC(0);
  141. </script>
  142. </body>
  143. </html>
复制代码

回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值

结帖率:100% (7/7)
发表于 2013-5-24 08:49:50 | 显示全部楼层   重庆市重庆市
111.rar (121.12 KB, 下载次数: 9)

评分

参与人数 1荣誉 +1 收起 理由
笨潴 + 1 热心帮助他人,荣誉+1,希望继续努力(*^__^.

查看全部评分

回复

使用道具 举报

结帖率:50% (6/12)

签到天数: 1 天

发表于 2013-5-24 09:09:15 | 显示全部楼层   广西壮族自治区桂林市
如果你把附件上传我免费给你高下
回复

使用道具 举报

结帖率:50% (1/2)
 楼主| 发表于 2013-5-24 09:11:21 | 显示全部楼层   广东省佛山市
DNF皓轩 发表于 2013-5-24 09:09
如果你把附件上传我免费给你高下

亲,没有附件呀...附件就两个超级列表框..
回复

使用道具 举报

结帖率:50% (1/2)
 楼主| 发表于 2013-5-24 09:54:04 | 显示全部楼层   广东省佛山市
晓易 发表于 2013-5-24 08:49

不解释!!!!感谢版主大神!!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

关闭

精易论坛 - 有你更精彩上一条 /2 下一条

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报QQ: 793400750,邮箱:wp@125.la
网站简介:精易论坛成立于2009年,是一个程序设计学习交流技术论坛,隶属于揭阳市揭东区精易科技有限公司所有。
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备2025452707号) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表