日期:2014-05-16 浏览次数:20393 次
<TD vAlign=top
background=cid:_Foxmail.7@E55BE033-0B72-401A-9D6E-4271B31D3623> </TD></TR>
<TR>
<TD vAlign=top
background=cid:_Foxmail.8@EBF32866-DF3F-4A9F-BE5B-B4414C68C609><IMG
src="cid:_Foxmail.0@A9E7868F-2830-4852-A548-BD058DBA0F57" width=90
height=1></TD>
<TD vAlign=top
background=cid:_Foxmail.9@B893894B-BBCB-4382-A121-133D8456BA67
colSpan=2> </TD>
<TD vAlign=top
background=cid:_Foxmail.10@102AAAF0-DFF2-4AC1-999B-2C4EFC9E09FF><IMG
src="cid:_Foxmail.0@A9E7868F-2830-4852-A548-BD058DBA0F57" width=88
height=83></TD>
for(var arr = document.getElementsByTagName("img"),i=0;i<arr.length;i++){
if(arr[i].src.indexOf("cid:") ==0){
arr[i].src.replace("xxx","ooo");
}
}
//使用这个正则批量替换
var reg = /background=cid:[^>]*/ig