This setting is only used by the restore action.

from the Elasticsearch documentation

The rename_pattern and rename_replacement options can be also used to rename indices on restore using regular expression that supports referencing the original text as explained here.

Read more about this setting at

There is no default value.