您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

mb_eregi_replace

(PHP 4 >= 4.2.0, PHP 5)

mb_eregi_replace — Replace regular expression with multibyte support ignoring case

说明

string mb_eregi_replace ( string $pattern , string $replace , string $string [, string $option ] )

mb_ereg_replace() scans string for matches to pattern , then replaces the matched text with replacement and returns the result string or FALSE on error. Multibyte character can be used in pattern . The case will be ignored. option has the same meaning as in mb_ereg_replace().

The internal encoding or the character encoding specified in mb_regex_encoding() will be used as character encoding.

See also: mb_regex_encoding(), mb_ereg_replace().