Does someone have a solution to take any string, e.g. a body text of a node, scan it for email addresses and replace the email? Use case is for example to meet privacy requirements when using the Message Stack. I want to build a notification system that emails subscribed users new content, but the content should not include personal information such as emails. Hence, I have to manipulate the text before I save it into the message itself and replace patterns such as email addresses.
Thanks, J.