dreamweaver怎么用通配符替换
来源:百度知道 编辑:UC知道 时间:2024/06/07 20:18:54
dreamweaver怎么用通配符替换?
http://www.sina.com/index.html
http://www.sina.com/1125/542/12.htm
http://www.sina.com/452/4521/452/index.htm
怎么把整个网站中所有的超链接都替换成#?
http://www.sina.com/index.html
http://www.sina.com/1125/542/12.htm
http://www.sina.com/452/4521/452/index.htm
怎么把整个网站中所有的超链接都替换成#?
如希望批量替换某个div ,前后字符串确定后,打开DW,查找,勾选“使用正则表达式”、
查找内容为:
<div class="taiyuan1">(.|\s|\n)*?</div>
替换为空。
勾选正则表达式
如果把上面类似链接替换掉就是:
href="http://www.sina.com/(.|\s|\n)*?"
href="#"
如果要把整个网站中所有的超链接都替换成#,就是(包含相对链接):
href="(.|\s|\n)*?"
href="#"