» How To
» Regex for removing email footers
|Regex for removing email footers [message #186941]
||Thu, 30 July 2015 17:22
I apologize that I don't know how to write regex searches. I'm not sure what I want to do is quite possible.|
The bottoms of the email on our mailing list contain this:
National Committee Discussion Forum:
To communicate with other National Committee members, visit:
If your state delegation changes, please see:
To report violations of listserv protocol, write to forummanagers(at)lists(dot)gp-us(dot)org
For other information about the National Committee, see:
To see archives of the prior listserv, go to six.pairlist.net/mailman/private/natlcomvotes/ and use your password to log in.
(Links removed beacause I'm not allowed to post them) I would like FUD to remove all of that if I can. I thought there might be some way to express "start with these words and end with these words and replace them all with null". But I don't know how. The things I've tried just replace the whole message body with nothing. I also tried what I thought would be the equivalent of "find a line that starts with this + a line that starts with this + ... and replace with null". Is there a way to accomplish what I'm after?
Current Time: Sat Jan 19 07:36:00 EST 2019
Total time taken to generate the page: 0.00515 seconds