ereg

ereg -- Regular expression match

Description

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

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

Not :

Exempel 1 . ereg( ) Example