ereg

ereg -- Regular expression match

Description

int ereg ( string pattern, string string [, array regs])

Nota: preg_match() , which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg() .

Nota :

Exemplo 1 . ereg( ) Example