I’m setting up a discourse instance for an org that’s currently using a mailing list - we imported the mail (20K messages) with no major issues, however there are a lot of posts where people’s email addresses are showing due to quoting, email signatures etc.
I’m reasonably proficient with the rake/rails command line, but I’m struggling to figure out how to remove these email addresses, I’ve tried various forms of this (regex, not regex) but it never finds any posts
Is there a better way to do this? I started with a simple regex to find my own address first (and yes I have a backup!).
Since this is a new discourse instance, I’m not concerned about removing any @ mentions etc.