Replaces placeholders in the format with corresponding values from the provided variables object.
The input string containing placeholders.
An object where keys correspond to placeholder names and values are the replacements.
Replaces placeholders in the format with corresponding values from the provided variables object.