FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Regex for removing email footers
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Regex for removing email footers [message #186941] Thu, 30 July 2015 21:22
Magess is currently offline  Magess
Messages: 2
Registered: July 2015
Karma: 0
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?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Match mailing list users with forum accounts
Next Topic: connecting FUDforum to Usenet?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 27 15:29:22 GMT 2024

Total time taken to generate the page: 0.02013 seconds