跳转到主要内容

mb-eregi-replace

mb_eregi_replace

Replace regular expression with multibyte support ignoring case

ENTITY

string

false

null

mb_eregi_replace

string

pattern

string

replacement

string

string

string

null

options

ENTITY

Scans string for matches to pattern, then replaces the matched text with replacement.

ENTITY

pattern
The regular expression pattern. Multibyte characters may be used. The case will be ignored.

replacement
The replacement text.

string
The searched string.

options
The search option. See mb_regex_set_options for explanation.

ENTITY

The resultant string or ENTITY on error. If string is not valid for the current encoding, ENTITY is returned.

ENTITY

ENTITY ENTITY
8.0.0 options is nullable now.
7.1.0 The function checks whether string is valid for the current encoding.
7.1.0 The e modifier has been deprecated.

ENTITY ENTITY ENTITY

ENTITY

mb_regex_encoding, mb_ereg_replace