首頁
PHP
Tags
PHP教學
最新文章列表
中文(繁體)
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
當前位置:
首頁
>
函數類別大全
>
preg_grep
preg_grep
返回匹配模式的數組條目
名稱:
preg_grep
分類:
正則處理PCRE
所屬語言:
php
一句話介紹:
返回數組,其中僅包含輸入數組中匹配模式的元素。
相關內容
使用preg_grep時如何提高匹配性能?
8
如何使用preg_grep函數過濾匹配正則表達式的數組元素?
9
同類函數
preg_replace_callback
preg_replace_callback
執行一個正則表達式搜索並且使用一個回調進
preg_filter
preg_filter
執行正則表達式搜索和替換
preg_last_error_msg
preg_last_error_msg
返回上一次PCRE正則表達式執行的錯誤消
preg_match_all
preg_match_all
執行全局正則表達式匹配
preg_quote
preg_quote
轉義正則表達式字符
preg_replace
preg_replace
執行一個正則表達式的搜索和替換
preg_last_error
preg_last_error
返回最後一個PCRE正則執行產生的錯誤代
preg_split
preg_split
通過一個正則表達式分隔字符串
熱門文章
如何使用preg_grep函數過濾匹配正則表達式的數組元素?
使用preg_grep時如何提高匹配性能?