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

求正则婚配字母

WBOY
WBOYOriginal
2016-06-13 12:46:25845browse

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

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

像这个有4个字母

正则怎么写!谢谢

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