表达式如下:
<!--[\s\S]*?-->|<style.*?>[\s\S]*?</style>|<script.*?>[\s\S]*?</script>|<[\s\S]+?>|\s+
内容如下:
alires:///MsgHistory/MsgHistory.htm?cssname=default
<HEAD><TITLE>MsgHistory</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=Content-Language content=zh-cn>
<STYLE>
body {
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
body,td,th {
font-family: Verdana;
font-size: 12px;
color: #000000;
}
body{
background-color:#fbfcfc;
scrollbar-arrow-color: #7e7e7e;
scrollbar-face-color: #f7f7f7;
scrollbar-3dlight-color: #d2d2d2;
scrollbar-highlight-color: #ffffff;
scrollbar-shadow-color: #d2d2d2;
scrollbar-darkshadow-color: #f2f2f2;
scrollbar-track-color: #f2f2f2;
scrollbar-base-color:#f8f8f8;
}
/* D4EBF1 F4F4F4 7895A3*/
a:link { text-decoration: none;}
a:active { text-decoration:none}
a:visited { text-decoration: none;}
a:hover { text-decoration:underline;}
.Prompt { background-color:#FFFEC6;
background-image:url(Prompt_Back.png);
background-repeat:repeat-x;
border: 1px solid #e3d7a6;
font-family: Verdana;
font-size: 12px;
color: #CB6F1C;
height:26px;
padding:4px;}
.Prompt a {font-family: Verdana; font-size: 12px; color: #CB6F1C; text-decoration:none;}
.SysMsg a{
font-family: Verdana;
font-size: 12px;
color: #004be5;
}
.SysMsg a:link { text-decoration:underline;}
.SysMsg a:active { text-decoration:underline;}
.SysMsg a:visited { text-decoration:underline;}
.SysMsg a:hover { text-decoration:underline;}
.UnSafeURL {color:#808080;}
.HeadInfo { height:16;}
#content { overflow-y: auto; overflow-x: hidden; width:100%; padding:0px}
#content p { margin-top: 0; margin-bottom: 0;}
#History {}
.SenderNameSelf {font-family: Verdana; font-size: 12px; line-height: 17px; color: #308712;}
.SenderName { font-family: Verdana; font-size: 12px; line-height: 17px; color: #0066CC;}
#SenderSite { font-family: Verdana; font-size: 12px; color: #939393;}
.SysMsg { font-family: Verdana; font-size: 12px; color: #000000; background-color: #FEFCE7; border: 1px solid #EDDFD2; padding-top: 2px; padding-right: 4px; padding-bottom: 4px; margin-left: 6px; margin-right: 6px;margin-bottom:5px; margin-top:5px;}
.SysNotify { font-family: Verdana; font-size: 11px;color: #9D3C11; font-weight: 600;}
.SysMsgHistory { padding-left: 25px;color: #D27440;}
.SysMsgHistory font{font-family: Verdana; font-size: 11px; color: #D27440;}
#MsgHeadRight {}
#MsgTime {font-family: Verdana; font-size: 11px; line-height: 17px; color: #939393;}
.MsgContentSelf { word-wrap:break-word;}
#MsgContent { margin-left: 6px; margin-right: 6px; word-wrap:break-word;}
#MsgContent div { margin-bottom:1px;margin-top:2px}
.MsgHistory { color: #9D9D9D;word-wrap:break-word;}
.MsgHistory font{ color: #9D9D9D;word-wrap:break-word;}
.InnerContent { padding-top: 3px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px;}
.MsgContentHover{ background-color: #F1F6F9; border: 1px solid #D8E7EE; padding-top: 2px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px;}
#MsgHead { margin-left:5px; margin-right:5px; padding-right:5px; }
.MsgHeadSelf {}
.Msg { margin-bottom: 0px; }
#MsgCheckBox { }
#GroupHead { color:#969195; margin-top:6px; margin-bottom:6px; cursor: hand; background-color:#EFEFEF; height:20px; width:100%; }
#GroupButton { font-family:Marlett; font-size:16px; }
#GroupTitle { }
img{
max-width:100%;
}
</STYLE>
<SCRIPT language=javascript type=text/javascript>
function ReLayout()
{
var height = document.body.clientHeight - Head.offsetHeight;
if (height < 50)
height = 50;
content.style.height = height;
ScrollToEnd();
AutoResizeAllNonHistoryImage();
}
var currentUserId = "";
var loginedUserId = "";
window.onresize = ReLayout;
function AddHeadInfo(ID, Html, IsPrompt)
{ }
function ClearHead()
{ }
function RemoveHeadInfo(ID)
{ }
function Colorize(backcolor, bordercolor)
{
//document.body.style.scrollbarFaceColor = backcolor;
//document.body.style.scrollbarHighlightColor = bordercolor;
//document.body.style.scrollbarShadowColor = bordercolor;
//document.body.style.scrollbarArrowColor = bordercolor;
//with( document.body.style)
{
//backgroundColor = "#FFFFFF";
//scrollbar3dLightColor = "#FFFFFF";
//scrollbarDarkShadowColor = "#FFFFFF";
//scrollbarTrackColor = "#FFFFFF";
}
}
</SCRIPT>
<SCRIPT language=javascript src="MsgHistory.js" type=text/javascript></SCRIPT>
</HEAD>
<BODY style="MARGIN: 0px; OVERFLOW: hidden" onload=ReLayout();>
<DIV id=Head>
<DIV id=HeadFoot style="OVERFLOW-Y: hidden; HEIGHT: 1px"></DIV></DIV>
<DIV id=content style="OVERFLOW-Y: scroll; HEIGHT: 248px" onscroll=OnContentScroll(); onclick=OnGroupHeadClick();>
<DIV id=History>
<DIV id=Group0_2012-4-5>
<DIV id=GroupHead><SPAN id=GroupButton>6</SPAN><SPAN id=GroupTitle>2012-4-5</SPAN></DIV>
<DIV id=GroupBody>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:38:15): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{6E05D709-7FED-4E0C-833C-449A3B445B42} msgId="{6E05D709-7FED-4E0C-833C-449A3B445B42}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>看到 分辨率是多少</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:38:35): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{6BC0532F-1718-4B32-BABD-1D8156A6CE76} msgId="{6BC0532F-1718-4B32-BABD-1D8156A6CE76}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>1280 800</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:38:48): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{280BE992-0462-4E27-98E2-A7042488135F} msgId="{280BE992-0462-4E27-98E2-A7042488135F}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>这个是最高了</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:38:54): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{A52A66D5-89BD-45D5-8DAB-DFC1FB6AAD0D} msgId="{A52A66D5-89BD-45D5-8DAB-DFC1FB6AAD0D}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>哦</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:39:21): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{32EDCF9F-2FF6-476C-95FE-362523E2CC49} msgId="{32EDCF9F-2FF6-476C-95FE-362523E2CC49}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>那现在怎么办</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:39:31): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{EB382D7A-3CC0-4E89-B8C0-F7026EA8C7C2} msgId="{EB382D7A-3CC0-4E89-B8C0-F7026EA8C7C2}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>不显示全部文字。是在对话中,还是刚进入课程,无法显示全部?</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:39:47): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{B1844856-0803-4654-8362-005E2E4655D8} msgId="{B1844856-0803-4654-8362-005E2E4655D8}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>对话</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:39:57): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{87C0AD60-853E-479F-B179-D2AC359ECB2A} msgId="{87C0AD60-853E-479F-B179-D2AC359ECB2A}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>对话显示多少句?</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:40:10): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{A49B1C27-438E-4B86-AD13-AE6DE49304EC} msgId="{A49B1C27-438E-4B86-AD13-AE6DE49304EC}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>有两行句子的</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:40:18): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{7C0460C8-A42D-4D30-8D11-974F4ED31FB6} msgId="{7C0460C8-A42D-4D30-8D11-974F4ED31FB6}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>只有一行</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:40:46): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{DB04B6B9-1BB8-437B-A1C1-EC8419C0040B} msgId="{DB04B6B9-1BB8-437B-A1C1-EC8419C0040B}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>你发远程协助吧</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:41:06): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{E216AC28-CCAC-4DE4-B4B7-CA6A47FF5D8A} msgId="{E216AC28-CCAC-4DE4-B4B7-CA6A47FF5D8A}" sendId="cntaobaolife"><IMG id=cd9aabdcad35210df8cbf7efe57904ab.jpg height=47 src="pic:picture|cd9aabdcad35210df8cbf7efe57904ab.jpg?26303" width=270 max-size="270"></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:42:31): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{F5C7C8DE-2531-4702-92D9-ED15C5786570} msgId="{F5C7C8DE-2531-4702-92D9-ED15C5786570}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>还是我自己装吧,你指导下</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:42:58): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{9F805AC6-6D38-47D8-B391-7704BB09570C} msgId="{9F805AC6-6D38-47D8-B391-7704BB09570C}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>你能发截图吗</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:43:16): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{8542C687-DA56-4C56-8E6C-EC677976ACDF} msgId="{8542C687-DA56-4C56-8E6C-EC677976ACDF}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>没有看到你的电脑,无法准确帮你指导的</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:43:44): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{DA2FAB40-7B48-414C-A0DD-D8CFEFF50E63} msgId="{DA2FAB40-7B48-414C-A0DD-D8CFEFF50E63}" sendId="cntaobaolife"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>你用QQ,旺旺截图</FONT></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:44:15): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{6863FFF8-8A34-4481-A534-B971793C3293} msgId="{6863FFF8-8A34-4481-A534-B971793C3293}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>这样吧,我晚上让老公来和你对话,我先哦接儿子放学了</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:44:24): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{1E19DAB6-10F7-44C6-A5F5-8F6221B1F54F} msgId="{1E19DAB6-10F7-44C6-A5F5-8F6221B1F54F}" sendId="cntaobaolife"><IMG alt=/:(OK) 成交 src="pic:emotion|%2F:(OK)" max-size="270"></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobao萌萌">
<DIV class=MsgHead id=MsgHead><SPAN class=SenderName id=SenderName>萌萌</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:44:29): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{864E9BE5-3940-4F51-8C78-96BEDBB9A78A} msgId="{864E9BE5-3940-4F51-8C78-96BEDBB9A78A}" sendId="cntaobao萌萌"><U><FONT style="FONT-SIZE: 18pt" face=宋体 color=#000000>谢谢你耐心了,我这个电脑盲</FONT></U></DIV></DIV></DIV>
<DIV class=Msg id=MsgElement SendID="cntaobaolife">
<DIV class=MsgHeadSelf id=MsgHead><SPAN class=SenderNameSelf id=SenderName>刘</SPAN><SPAN> </SPAN><SPAN id=SenderSite></SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(2012-04-05 14:44:37): </SPAN></SPAN></DIV>
<DIV class=InnerContent id=MsgContent>
<DIV class=MsgHistory id=Msg_{191AB735-D68B-409B-A236-68806174C199} msgId="{191AB735-D68B-409B-A236-68806174C199}" sendId="cntaobaolife"><IMG alt=/:^_^ 微笑 src="pic:emotion|%2F:%5E_%5E" max-size="270"><FONT style="FONT-SIZE: 10pt" face=宋体 color=#ff0080>不客气</FONT></DIV></DIV></DIV></DIV></DIV></DIV>
<DIV id=SeparationLine style="MARGIN-TOP: 5px; MARGIN-BOTTOM: 10px; MARGIN-RIGHT: 20%; BORDER-BOTTOM: #cccccc 1px solid"></DIV>
<DIV id=Position1 style="DISPLAY: none"></DIV>
<DIV id=Position2 style="DISPLAY: none"></DIV>
<DIV id=Position3 style="DISPLAY: none"></DIV>
<DIV class=Msg id=Msg_{3C582AA9-FF5D-48a6-8977-543B0D4AC88A}>
<DIV class=SysMsg><SPAN class=MsgHead id=MsgHead><SPAN class=SysNotify id=SenderName>系统消息 </SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(17:37:05)</SPAN></SPAN></SPAN><BR><SPAN class=SysMsgHistory id=MsgContent><FONT color=#7f7f7f size=2>对方还不是你的好友,</FONT><FONT color=#0000ff size=2><A href="alires:///MsgHistory/MsgHistory.htm?cssname=default#AddContact#">加为好友</A></FONT><FONT color=#7f7f7f size=2>交流更方便。<BR> 如果不想被该用户打扰,您还可以将TA</FONT><FONT color=#0000ff size=2><A href="alires:///MsgHistory/MsgHistory.htm?cssname=default#AddToBlackList#">加入黑名单</A></FONT><FONT color=#7f7f7f size=2>,或者</FONT><FONT color=#0000ff size=2><A href="alires:///MsgHistory/MsgHistory.htm?cssname=default#ReportContact#">举报TA</A></FONT><FONT color=#7f7f7f size=2>。</FONT></SPAN></DIV></DIV>
<DIV class=Msg id=Msg_{4C3E52D5-A1AE-4e43-9DCA-F61645E50CF4}>
<DIV class=SysMsg><SPAN class=MsgHead id=MsgHead><SPAN class=SysNotify id=SenderName>系统消息 </SPAN><SPAN id=MsgHeadRight><SPAN id=MsgTime>(17:37:06)</SPAN></SPAN></SPAN><BR><SPAN class=SysMsgHistory id=MsgContent>"萌萌"离线或者隐身,对方会在下一次登录看到你的留言.</SPAN></DIV></DIV></DIV></BODY>
Match Tracer运行结果:
alires:///MsgHistory/MsgHistory.htm?cssname=defaultMsgHistory62012-4-5刘 (2012-04-0514:38:15):看到 分辨率是多少萌萌 (2012-04-0514:38:35):1280 800萌萌 (2012-04-0514:38:48):这个是最高了刘 (2012-04-0514:38:54):哦萌萌 (2012-04-0514:39:21):那现在怎么办刘 (2012-04-0514:39:31):不显示全部文字。是在对话中,还是刚进入课程,无法显示全部?萌萌 (2012-04-0514:39:47):对话刘 (2012-04-0514:39:57):对话显示多少句?刘 (2012-04-0514:40:10):有两行句子的萌萌 (2012-04-0514:40:18):只有一行刘 (2012-04-0514:40:46):你发远程协助吧刘 (2012-04-0514:41:06):萌萌 (2012-04-0514:42:31):还是我自己装吧,你指导下刘 (2012-04-0514:42:58):你能发截图吗刘 (2012-04-0514:43:16):没有看到你的电脑,无法准确帮你指导的刘 (2012-04-0514:43:44):你用QQ,旺旺截图萌萌 (2012-04-0514:44:15):这样吧,我晚上让老公来和你对话,我先哦接儿子放学了刘 (2012-04-0514:44:24):萌萌 (2012-04-0514:44:29):谢谢你耐心了,我这个电脑盲刘 (2012-04-0514:44:37):不客气系统消息(17:37:05)对方还不是你的好友,加为好友交流更方便。 如果不想被该用户打扰,您还可以将TA加入黑名单,或者举报TA。系统消息(17:37:06)"萌萌"离线或者隐身,对方会在下一次登录看到你的留言.
现在想得到:
cntaobaolife;(2012-04-0514:38:15):看到;分辨率是多少
cntaobao萌萌;(2012-04-0514:38:35):1280 800
cntaobao萌萌;(2012-04-0514:38:48):这个是最高了
cntaobaolife;(2012-04-0514:38:54):哦
cntaobao萌萌;(2012-04-0514:39:21):那现在怎么办
cntaobaolife;(2012-04-0514:39:31):不显示全部文字。是在对话中,还是刚进入课程,无法显示全部?
cntaobao萌萌;(2012-04-0514:39:47):对话
各位怎么写正则哈。帮我一下
感谢各位。祝愿生活愉快。
附上VB代码
Private Function Replacea(a)
Dim Regex As New RegExp
Regex.Global = True
Regex.IgnoreCase = True
Regex.Pattern = "<!--[\s\S]*?-->|<style.*?>[\s\S]*?</style>|<script.*?>[\s\S]*?</script>|<[\s\S]+?>|\s+"
Replacea = Regex.Replace(a, "")
End Function
Private Sub Command1_Click()
Text2.Text = Replacea(Text1.Text)
End Subpic:emotion|%2F:(OK)
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!