Home > Backend Development > PHP Tutorial > 正則表達式怎么匹配特殊符號 ^$-+

正則表達式怎么匹配特殊符號 ^$-+

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:11:16
Original
1005 people have browsed it

正則表達式如何匹配特殊符號 ^$-+*
正則表達式如何匹配特殊符號 ^$-+*


------解决方案--------------------
http://php.net/manual/zh/function.preg-quote.php
或者你可以自己添加转义符 \
Related labels:
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