mb_eregi
mb_eregi
Regular expression match ignoring case with multibyte support
bool **mb_eregi** string $pattern string $string array $matches
Executes the case insensitive regular expression match with multibyte support.
patternThe regular expression pattern.
string
The being searched.
string
matches
If matches are found for parenthesized substrings of
and the function is called with the
third argument , the matches will be stored
in the elements of the array .
If no matches are found, is set to an empty
array.
pattern``matches``matches``matches
will contain the substring which starts at
the first left parenthesis; will contain
the substring starting at the second, and so on.
will contain a copy of the complete string
matched.
`$matches[1]``$matches[2]``$matches[0]`
Returns whether matches .
pattern``string
mb_regex_encoding``mb_ereg