footer stripping?

Posted by Marc Martin on
URL: https://support.nabble.com/footer-stripping-tp7590744.html

Hi, I've seen this question asked before here, but didn't find an answer...

I've got a forum that is mirroring a mailing list.  The mailing list appends a 4-line footer to the end of each message. And of course, if people reply to others messages, then those 4-lines might appear multiple times in a message.  

I think it'd be nice if I could strip off that footer for the messages that appear in the forum.  

Does anyone have an example code of how to do this?

If it makes any difference, I have control over the footer text, so I could start it and end it with a unique character sequence.  But I'd rather not get rid of it.