Home »
FUDforum »
How To »
Regex for removing email footers
Regex for removing email footers [message #186941] |
Thu, 30 July 2015 21:22 |
|
Magess
Messages: 2 Registered: July 2015
Karma:
|
Junior Member |
|
|
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:
//secure.gpus.org/secure/intranet/forum-mybb/forumdisplay.php?fid=2
To communicate with other National Committee members, visit:
//secure.gpus.org/secure/intranet/forum-mybb/
If your state delegation changes, please see:
gp.org/procedures-for-changing-delegates
To report violations of listserv protocol, write to forummanagers(at)lists(dot)gp-us(dot)org
For other information about the National Committee, see:
gp.org/national-committee
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?
|
|
|
Goto Forum:
Current Time: Sat Nov 23 15:05:32 GMT 2024
Total time taken to generate the page: 0.05144 seconds