首頁
PHP
Tags
PHP教學
最新文章列表
中文(繁體)
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
當前位置:
首頁
>
函數類別大全
>
preg_replace
preg_replace
執行一個正則表達式的搜索和替換
名稱:
preg_replace
分類:
正則處理PCRE
所屬語言:
php
一句話介紹:
返回字符串,其中模式的匹配項被替換為給定字符串中的子字符串。
相關內容
preg_replace 正則表達式語法入門
2
同類函數
preg_replace
preg_replace
執行一個正則表達式的搜索和替換
preg_match_all
preg_match_all
執行全局正則表達式匹配
preg_last_error_msg
preg_last_error_msg
返回上一次PCRE正則表達式執行的錯誤消
preg_last_error
preg_last_error
返回最後一個PCRE正則執行產生的錯誤代
preg_split
preg_split
通過一個正則表達式分隔字符串
preg_replace_callback_array
preg_replace_callback_array
執行正則表達式搜索並使用回調替換
preg_grep
preg_grep
返回匹配模式的數組條目
preg_filter
preg_filter
執行正則表達式搜索和替換
熱門文章
preg_replace 正則表達式語法入門