1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# Discourse Email Reply Trimmer
EmailReplyTrimmer is a small library to trim replies from plain text email.
## Usage
To trim replies:
`trimmed_body = EmailReplyTrimmer.trim(email_body)`
## Installation
Get it from [GitHub](https://github.com/discourse/email_reply_trimmer).
Run `rake` to run the tests.
## Inspirations
- [GitHub's Email Reply Parser](https://github.com/github/email_reply_parser)
- [MailGun's Talon](https://github.com/mailgun/talon)
- [Vitor R. Carvalho's Learning to Extract Signature and Reply Lines from Email](http://www.cs.cmu.edu/~vitor/papers/sigFilePaper_finalversion.pdf)
|