Ok. Not having a spectacular regex day...
I have this:
Recipients: joe.smith@mig.mydomain.com, jane.smith@mig.mydomain.com, bob.smith@mig.mydomain.com,
In props.conf I have:
[mySource]
EXTRACT-recipients = (?i)Recipients: (?P<recipients>.*, )
REPORT-to = myTo
and in transforms.conf I have:
[myTo]
REGEX = (?P<to>.*?[,])
SOURCE_KEY = recipients
MV_ADD = true
It sorta works, but I'm getting each to value twice, and how do I drop the trailing ',' at the end.
Thanks!!
... View more