举报
$a = '<DIV class=weather><SPAN style="DISPLAY: inline-block; FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' & _ "'http://cache.soso.com/zdq/tb/s_a4.png', sizingMethod='scale'); WIDTH: 20px; HEIGHT: 16px" & _ '"></SPAN> 雷阵雨<DIV class=pd_l>24℃~34℃<BR>西南风3-4级</DIV></DIV>' $b = StringRegExp($a, '(?<=/SPAN> ).+(?=<DIV class=pd_l>)', 1, 1) MsgBox(0,0, $b[0])
$a = ' 雷阵雨24℃~34℃西南风3-4级' $b = StringRegExp($a, '(? ).+(?=)', 1, 1) MsgBox(0,0, $b[0]) liongodmien 发表于 2009-6-21 14:06
$a = ' 雷阵雨24℃~34℃西南风3-4级' $b = StringRegExp($a, '(? ).+(?=)', 1, 1) MsgBox(0,0, $b[0])
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-23 22:26 , Processed in 0.098855 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.