日期:2014-05-17  浏览次数:20590 次

使用dreamweaver编辑html,如何使用正则表达式替换???
使用dreamweaver编辑html,如何使用正则表达式替换???

<a href="base/detail.php?id=486">
<a href="base/detail.php?id=16">
<a href="base/detail.php?id=2">
<a href="base/detail.php?id=26">
<a href="base/detail.php?id=999">

都是1-999的数字,如何使用dreamweaver 替换的功能替换为

<a href="/services/webhosting/sites.asp">

谢谢了!!!!!!!!

------解决方案--------------------
ctrl+f

里面可以选择用正则表达式匹配。
------解决方案--------------------
http://www.seowhy.com/article-2309.html
------解决方案--------------------
查找:
<a[^>]+href="base/detail.php\?id=\d*">

替换为:<a href="/services/webhosting/sites.asp">