ereg_replace depreciated in PHP 5.3 

ereg_replace depreciated in PHP 5.3. Having ereg_replace in here causes an infinite loop at the log-in screen after a backup was attempted.

preg_replace has been in PHP since 4.0, so it should be safe for all to use.
Merge pull request #3 from wpkc/patch-1

ereg_replace depreciated in PHP 5.3