(PHP 4 >= 4.2.0, PHP 5, PHP 7)
mb_eregi_replace — Replace regular expression with multibyte support ignoring case
$pattern
, string $replace
, string $string
[, string $option = "msri"
] ) : string
Scans string for matches to
pattern, then replaces the matched text
with replacement.
patternThe regular expression pattern. Multibyte characters may be used. The case will be ignored.
replaceThe replacement text.
stringThe searched string.
option
The resultant string or FALSE on error.
| �汾 | ˵�� |
|---|---|
| 7.1.0 | The e modifier has been deprecated. |
Note:
mb_regex_encoding() ָ�����ڲ�������ַ����뽫�ᵱ���˺����õ��ַ����롣
��������ε�����ʱ�Ӳ�ʹ�� e ���η����Ͳ���ת�루������ preg_replace()������ע����Щ��ܿ��ܻᵼ��Ӧ�ó�������Զ�̴���ִ�е�©����