首頁
PHP
Tags
PHP教學
最新文章列表
中文(繁體)
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
當前位置:
首頁
>
函數類別大全
>
preg_match
preg_match
執行正則表達式匹配
名稱:
preg_match
分類:
正則處理PCRE
所屬語言:
php
一句話介紹:
在字符串中查找模式的第一個匹配項。
相關內容
如何使用preg_match從HTML中提取特定標籤內容
3
使用preg_match進行IP地址驗證
9
如何使用preg_match進行手機號格式驗證
5
同類函數
preg_last_error_msg
preg_last_error_msg
返回上一次PCRE正則表達式執行的錯誤消
preg_replace_callback
preg_replace_callback
執行一個正則表達式搜索並且使用一個回調進
preg_split
preg_split
通過一個正則表達式分隔字符串
preg_grep
preg_grep
返回匹配模式的數組條目
preg_filter
preg_filter
執行正則表達式搜索和替換
preg_match_all
preg_match_all
執行全局正則表達式匹配
preg_replace
preg_replace
執行一個正則表達式的搜索和替換
preg_last_error
preg_last_error
返回最後一個PCRE正則執行產生的錯誤代
熱門文章
使用preg_match進行IP地址驗證
如何使用preg_match從HTML中提取特定標籤內容
如何使用preg_match進行手機號格式驗證