|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
自己公司的软件制作的离线html文件,需要提取其中的数据,想到VBA正则表达式提取到EXCEL中,但是本人刚接触正则,小白一个,求大神帮忙给解决一下。代码如下(一个DIV标签内的代码,需要查找出T01_112和211PI2201。): 谢谢大神,
<DIV
style="POSITION: absolute; FONT-STYLE: normal; WIDTH: 148px; FONT-FAMILY: Arial; HEIGHT: 42px; FONT-SIZE: 0px; FONT-WEIGHT: 400; TEXT-DECORATION: none; BEHAVIOR: url(#HSCShapeLinkBehavior) url(#HDXVectorFactory#shapelink); TOP: 162px; LEFT: 1235px"
id=shape061 class=hsc.shape.1 tabIndex=-1
hdxproperties="fillColorBlink:False;Height:42;lineColorBlink:False;Width:148;"
value = "1" src = ".\T01_112_files\CDA_Mod_DataAcq_lib_h_pati_03_R300.sha"
parameters = "Point?tagname:211PI2201;Parameter?cp_pv:daca.pv;Parameter?cp_eudesc:daca.eudesc;Parameter?cp_pvformat:daca.pvformat;Parameter?cp_almenbstate:almenbstate;Text?cp_TagnameEU:;Parameter?Trd_PointPV:Tagname.cp_pv;Text?FaceplateFile:;Num?cp_custtrd:;Num?cp_custgrp:;Text?cm_label:Help;Text?cm_file:;Text?ContextMenuFile:sp_sysdtldaca_sm.xml;Num?Revision:R300 Rev.0;"
linkType = "embedded" globalscripts = "" styleClass = "">
感谢http://club.excelhome.net/thread-1294564-1-1.html Du老师
|
|