ereg_replace() is deprecated in PHP 5.4.24 but not 5.5?
How To Use PHP Preg_Replace Effectively - MarketSplash
PHP | preg_replace() Function - GeeksforGeeks
PHP Regular Expressions - Scaler Topics
PHP: Remove multiple consecutive whitespaces from a string
Certain mbstring functions stop working in PHP 7.4 for Windows
Wordpress error when starting translation - WPML
PHP :: Bug #485 :: ereg_replace and Linefeeds