PHP.nl

mb_ereg

mb_ereg

Regular expression match with multibyte support

bool **mb_ereg** string $pattern string $string array $matches

Executes the regular expression match with multibyte support.

patternThe search pattern.

string The search . 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_eregi