replace_re

The replace_re function replaces substrings in a string with another string using a regular expression.

{{ re_replace "Hello world" "world$" "Snowman" }}