Mailing List Feature: Remove Mailing List Signature [message #40840] |
Wed, 16 April 2008 19:23 |
|
jeffrey
Messages: 36 Registered: June 2006 Location: Atlanta, GA
Karma: 0
|
Member |
|
|
For a mailing list, give the option to look for and remove a mailing list signature that gets duplicated over and over in the same message when people reply to emails from the list.
Usually the mailing list signature contains multiple lines and looks something like:
I suggest keeping the first occurance of the tag and then cutting out all of the other ones. It also needs to recognize the pattern, one per line, even if it has other characters in front of it (ie, when people forward they start getting >, >>, >>>, >>>>... in front of them and it would need to chop these out.
Right now I have a script of my own that chops these out before handing it over to FUDforum, but it would be a useful feature to be built-in I think.
|
|
|
|
Re: Mailing List Feature: Remove Mailing List Signature [message #40848 is a reply to message #40846] |
Thu, 17 April 2008 18:32 |
|
jeffrey
Messages: 36 Registered: June 2006 Location: Atlanta, GA
Karma: 0
|
Member |
|
|
What I would like to see can't be accomplished with a simple regular expression.
The basic idea is to remove duplicated patterns (or signatures) that take up multiple lines. Email programs embed various text around the signatures as well (with >>) and I want those characters to be deleted as well.
I also don't want to delete all patterns found. I want the first occurrence of the pattern to remain and then all other duplicated versions to be removed.
Also, it would be nice if the user could paste in the signature he wanted filtered and clearly see the pattern you want to be removed, instead of forming this complex regular expression, and pasting all of that into a little box. I would prefer the program to build the regex by inserting the \n for me.
I would also want to be able to filter multiple patterns in this way (to take out Yahoo signatures, and other advertisements).
This is what my program that I have written does, it filters the message and removes these patterns before handing it over to FUDforum.
[Updated on: Thu, 17 April 2008 18:33] Report message to a moderator
|
|
|