Can you tell the difference between ereg_replace() and eregi_replace()?
eregi_repalce() are regular expressions used to replace the matching characters. The only difference between these functions are eregi_replace() function ignores the case distinction when it matches alphabetic characters.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.