Fix: Deprecated preg_replace_callback

Fix for the error:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback