Hi, I think this post relates to an explanation provided in this post from a couple years ago, but I can’t even get the example in the forum post to work and would appreciate some help.
I have an input string like this and I would like to retrieve the email address using an Advanced Regex step in an insightConnect workflow:
[{“ActionType”:“Forward”,“Recipients”:[“my.email@mydomain.com”],“ForwardFlags”:“None”}]
In regex101, this regex Recipients":[“(.*)”] returns a match and a group of:
Match 1: Recipients":[“my.email@mydomain.com”]
Group 1: my.email@mydomain.com
I can see both the same values returned in the Output of the step, but need to reference only the group.
I’ve tried various options to define a variable as described in the above post, but all result in an orange ‘error in the step’ warning.
Please could someone describe (and ideally explain!) what i need to enter into the regex field of the Advanced Regex step to just get the email address returned?
Thanks