Function ereg_replace() is deprecated im TS