(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_ereg_replace — Replace regular expression with multibyte support
$pattern
, string $replacement
, string $string
[, string $option
= "msr"
] ) : string
Scans string
for matches to
pattern
, then replaces the matched text
with replacement
pattern
The regular expression pattern.
Multibyte characters may be used in pattern
.
replacement
The replacement text.
string
The string being checked.
option
The resultant string on success, or FALSE
on error.
锟芥本 | 说锟斤拷 |
---|---|
7.1.0 | The e modifier has been deprecated. |
Note:
mb_regex_encoding() 指锟斤拷锟斤拷锟节诧拷锟斤拷锟斤拷锟斤拷址锟斤拷锟斤拷虢拷岬憋拷锟斤拷撕锟斤拷锟斤拷玫锟斤拷址锟斤拷锟斤拷搿�
锟斤拷锟斤拷锟斤拷锟斤拷蔚锟斤拷锟斤拷锟绞憋拷硬锟绞癸拷锟� e 锟斤拷锟轿凤拷锟斤拷锟酵诧拷锟斤拷转锟诫(锟斤拷锟斤拷锟斤拷 preg_replace()锟斤拷锟斤拷锟斤拷注锟斤拷锟斤拷些锟斤拷芸锟斤拷芑岬硷拷锟接︼拷贸锟斤拷锟斤拷锟斤拷锟皆讹拷檀锟斤拷锟街达拷械锟铰╋拷锟斤拷锟�