meaning of ereg_replace() and eregi_replace()?

meaning of ereg_replace() and eregi_replace()?
it replaces regular expression,eregi_replace() function is identical to ereg_replace() except that it ignores case distinction when matching alphabetic characters.