Hey guys, I can’t seem to get regex_replace to work with the following:
account_type: "{{ caller_info.account_alias| regex_replace('([a-z]*$)/', '\\1') }}"
For example,
caller_info.account_alias =org-dig-sandbox-nonprod
account_type should return nonprod
The regex seems to work on regex101 online am I missing anything