Blogger Information
Blog 250
fans 3
comment 0
visits 321725
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
正则表达式函数preg_match_all()
梁凯达的博客
Original
1023 people have browsed it

//preg_match_all() 执行一次全局正则表达式匹配
 //参数
 //1.正则表达式
 //2.要匹配的字符串
 //3.匹配出来的数字
 //返回值 匹配个数


实例

$resuly = preg_match_all($preg,$str,$arr1);
	var_dump($result);
	var_dump($arr1);

运行实例 »

点击 "运行实例" 按钮查看在线实例

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