Stage.replace with value from extracted map

need to replace in log line with value from extracted string, but couldn’t find in docs how to do it
checked here:

thanks