Replace double dollar sign placeholder delimiters with double underscores