أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
ereg_replace()-> Regular expression match replace case sensetive. eregi_replace()-> Regular expression match replace case insensetive.
eregi_replace() function is identical to ereg_replace() except that it ignores case distinction when matching alphabetic characters.
ereg_replace() is case sensitive while eregi_replace() is not case sensitive.
ereg_replace() is a case sensitive whereas eregi_replace() is not case sensitive.
e.g.
ereg_replace() - "Hello" - cannot treat as "hello" whereas
eregi_replace() - "Hello" - can be treat as "hello"