字符串替换问题,替换内容与被替换内容都可能是多行
我要用delphi程序替换一个web页面里面的部分内容,如:
把
<script>
.....
</script>
替换成空,要多次替换;
或者把
<div id= "a1 ">
<table> <tr> <td> </td> </tr> </table>
</div>
替换成
<p>
asdfasdf
<br>
aabbccdd
<br>
</p>
怎么替换啊?
[解决办法]
StringReplace函数