I have a very old formmail script that stopped working after upgrade to PHP 7 on web server. The host tells me "eregi function is deprecated as of PHP 5.3 and as per the PHP docs you should use preg_match instead." I need to replace the php file and have the forms work as before.