eregi

eregi -- case insensitive regular expression match

Description

int eregi (string pattern, string string, array [ regs ]);

This function is identical to ereg() save that this ignores case distinction when matching alphabetic characters.

See also ereg() , ereg_replace() , and eregi_replace() .