Home  >  Article  >  Backend Development  >  php正则

php正则

WBOY
WBOYOriginal
2016-06-13 13:11:09939browse

求助php正则
判断字符串中包含下列字符就说明不正确
[%*=\\~():;'\"?/,]
这个正则怎么写啊


------解决方案--------------------
更正:
#[\[%\*=\\~\(\):;\'\"\?/,\]]+#s

Statement:
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