Home > Backend Development > PHP Tutorial > 求大神帮写个正则匹配表达式

求大神帮写个正则匹配表达式

WBOY
Release: 2016-06-23 14:18:12
Original
1142 people have browsed it

正则 Dreamweaver

网页中一堆以下类型的代码




求匹配的正则,我用dreamweaver替换为空,我试着写了几个都不能匹配上。

回复讨论(解决方案)

dreamweaver 可以用正则替换啊
/[^/

dreamweaver 可以用正则替换啊
/[^/

不行啊。。。。

怎么不行,在哪里执行的?

怎么不行,在哪里执行的?

如图:

哦,把两边的/ 去掉就可以了。
[^

哦,把两边的/ 去掉就可以了。
[^

YES,3Q!

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