Blogger Information
Blog 9
fans 0
comment 0
visits 6164
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
常用正则函数
自己做笔记用的
Original
1156 people have browsed it

我们常用的正则函数有:

函数名

功能

preg_filter    执行一个正则表达式搜索和替换    

preg_grep    返回匹配模式的数组条目    

preg_match    执行一个正则表达式匹配    

preg_match_all    执行一个全局正则表达式匹配    

preg_replace_callback_array    传入数组,执行一个正则表达式搜索和替换使用回调    

preg_replace_callback    执行一个正则表达式搜索并且使用一个回调进行替换    

preg_replace    执行一个正则表达式的搜索和替换    

preg_split    通过一个正则表达式分隔字符串    

具体参考手册

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