page_title: formatlist - Functions - Configuration Language
page_title: formatlist function reference
description: |-
The formatlist function produces a list of strings by formatting a number of
other values according to a specification string.
The `formatlist` function applies a specification to format values and produce a list of strings. Learn how to use the `formatlist` function in Packer templates.
page_title: regex_replace - Functions - Configuration Language
page_title: regex_replace function reference
description: >-
The regex_replace function searches a given string for another given
substring,
and replaces all occurrences with a given replacement string. The substring
argument can be a valid regular expression or a string.
The `regex_replace` function matches and replaces all occurrences of a substring with a replacement string. Learn how to use the `regex_replace` function in Packer templates.
page_title: regexall - Functions - Configuration Language
page_title: regexall function reference
description: |-
The regexall function applies a regular expression to a string and returns a list of all matches.
The `regexall` function applies a regular expression to a string and returns a list of all matches. Learn how to use the `regexall` function in Packer templates.
page_title: split - Functions - Configuration Language
page_title: split function reference
description: |-
The split function produces a list by dividing a given string at all
occurrences of a given separator.
The `split` function divides the given string according to the specified separator to produce a list. Learn how to use the `split` function in Packer templates.