Home >Backend Development >PHP Tutorial >请问关于PHP正则的表达式,多谢

请问关于PHP正则的表达式,多谢

WBOY
WBOYOriginal
2016-06-13 12:17:551026browse

请教关于PHP正则的表达式,谢谢!
[\u4E00-\u9FA5\uf900-\ufa2d\a-eA-E\+\.\s]{0,1}$/   这个表示大小写1位字母a到e

比如:A、b等都是正确的

那要限制:大小写1位字母a到e和符号“+”的正则怎么写?

比如:A+、b+、A等都是正确的
------解决思路----------------------
你这不是 php 的正则表达式规则串(是 js 的)

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