Hello,
As per ECE documentation, "Pattern" filter can be used in Modify Object node to read content in the body of the email and store in a particular attribute, like custom attribute. Here's what is mentioned in document:
Pattern: The pattern specified here is searched for in the body of the activity. The value
immediately following the pattern, till the end of the line, is assigned as the value for the attribute.
But when I try this, it searches for the specified string in body and starts saving content after that, but it doesnot stop at the end of the line. It goes on until capacity of the attribute runs out. Email body in my case are exact same because they are auto-generated from a portal, like below:
Name: abc
Email: abc@xyz.com
Phone number: 123456
I want to read email address and save it in a custom attribute. So I use Modify Object node and use Pattern as "Email:". But when email is processed, custom attribute has value of "abc@xyz.comPhone number: 123456".
Any help on how to make this work?