Replacing deprecated function preg_replace for preg_replace_callback