Hi,
We've got several forms pulling out a multi-select list from a database, each with a different email address. The input values are looking something like this:
value="string *email@domain.com"
and then the MultipleChoiceControl will look like this after the form is submitted:
string1 *email1@domain.com|string2 *email2@domain.com|string3 *email3@domain.com
I want a macro, or the regex to use, to replace the | with ; and remove all the strings ie:
email1@domain.com;email2@domain.com;email3@domain.com
The macro will go in a form email to notification field and will look something like this:
{% RegexReplace(Replace(MultipleChoiceControl,"|",";"),@REGEX,"") %}
We're using Kerntico 8.16.
Cheers,
Jon.