Home > Backend Development > PHP Tutorial > 求正则婚配字母

求正则婚配字母

WBOY
Release: 2016-06-13 11:26:12
Original
823 people have browsed it

求正则匹配字母
比如:
str="我们是csdn用户!";

正则匹配如果字符串中字母个数大于2个输出ok

像这个有4个字母

正则怎么写!谢谢

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