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

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

WBOY
Release: 2016-06-13 12:17:55
Original
1022 people have browsed it

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

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

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

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

Related labels:
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