标题: 如何批处理删除多个文本内相同内容,请高手指点
[打印本页]
作者: aredofe
时间: 2010-5-29 07:20
标题: 如何批处理删除多个文本内相同内容,请高手指点
有一批html文件,每个文件有如下相同的代码,如何才能将这些相同的内容删掉,且可以保留原文件名,因小弟批处理不精,请高手指点,谢谢!
<meta name="author" content="药网制作">
<meta name="copyright" content="药网版权所有 chinapharm.com.cn All Rights Reserved">
<META HTTP-EQUIV="Content-type" CONTENT="text/html;charset=GBK">
<style type="text/css">
body { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
p { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
br { font-family: "宋体", "Arial Narrow", "Times New Roman"; font-size: 9pt}
a:link { color: #0000FF; text-decoration: none}
a:visited { text-decoration: none}
a:hover { color: #FF0000; text-decoration: underline; background:#DCF2EE}
td { font-size: 9pt; font-family: "宋体"}
.mycss { font-size: 14px; color: #000099}
.myscc1 { font-size: 12px}
ul {text-indent: 0;margin-left: 14px;margin-right: 0;margin-top: 0;margin-bottom: 0}</style>
</head>
<body topmargin='0' leftmargin='0'><center>
<script src="/html/database/drugmanual/top.js"></script>
<table width='778' border='1' bordercolor='#FFFFFF' cellpadding='0' cellspacing='0'><td width='170' bordercolor='#009599' bgcolor='#E7FBF7' align='center' valign='top'><script src="/html/database/drugmanual/query_top.js"></script>
<table width="100%" cellpadding="0" cellspacing="0">
<tr bgcolor="#73E7A7" height="35"><td colspan='5' align="center" style="font-size:18px;font-weight:bold;color:#000000"><U>按拼音浏览</u></td></tr>