https://www.php-resource.de/forum/php-developer-forum/31429-regex-preg_replace-and-function-call