dreamweaver 正则表达式查找替换_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:29
Original
1413 people have browsed it

原字符串:
d1.jpg
d2.jpg
d3.jpg
d4.jpg
替换成:
f1.png
f2.png
f3.png
f4.png
这个可以一次替换吗?


回复讨论(解决方案)

可以,查找d([0-9]+\.jpg) 替换为:f\1。 

可以,查找d([0-9]+\.jpg) 替换为:f\1。(\1为捕获的参数,dreamware不知道是不是这种写法) 

可以,查找d([0-9]+\.jpg) 替换为:f\1。(\1为捕获的参数,dreamware不知道是不是这种写法) 


不支持,全都给替换成“f\1”
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!