Supported Versions: PHP 5 >= 5.4.1, PHP 7, PHP 8
Perform a regular expression search and replace with multibyte support using a callback
<?php mb_ereg_replace_callback( string $pattern, callable $callback, string $string, ?string $options = null): string|false|null