So that’s how you write a python regex
After more time than it should have ever taken, I ran across this website: http://www.python.org/doc/current/lib/module-re.html. Long story short though I wanted to discard addresses in Mailman. So the regex that works to discard senders in the privacy settings in Mailman is:
^[.]+@example.com So simple, so duh once I got it. This translates to (Mailman wants the caret[^] to denote a following regex) ^ Mailman’s starting character. [.] is any character, the + following it means one or more. So one or more of any character then your @ and the domain you want to get rid of. There are more delicate and fine tuned methods, but this works for me.



