Blogger Information
Blog 11
fans 1
comment 1
visits 9730
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
正则表达式匹配
豆芽的博客
Original
673 people have browsed it

正则表达式经典案例:

1、验证非空字符

\w+

2、匹配手机号码

1[3-8][0-9]+ \d{8}

3、匹配邮箱

^\w+(\.\w+)*@\w+\.(\w+)$



Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post