ereg_replace() is a PHP function that performs string replacement using regular expressions.
ereg_replace() is a PHP function that performs string replacement using regular expressions.
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged. See https://php.net/manual/en/function.ereg-replace.php.