Skip to content

feat: add parse options to ignore separators from signature#50

Open
obedparla wants to merge 2 commits into
crisp-oss:masterfrom
obedparla:obed/parse-options
Open

feat: add parse options to ignore separators from signature#50
obedparla wants to merge 2 commits into
crisp-oss:masterfrom
obedparla:obed/parse-options

Conversation

@obedparla
Copy link
Copy Markdown

Solves this issue: #41

I encountered this issue when parsing some property listing website emails, where they use --- as separators within their emails, e.g a Zoopla.co.uk email will look like this (shortened version).

The parse method now had options to alter its behavior, and I added solely excludeSignatureSeparators.

Dear team at XYZ
You have a new=20
    Tenant enquiry.

TENANT ENQUIRY FROM XYZ VIA ZOOPLA

Please find below an enquiry from XYZ
Please respond to this enquiry promptly to maximise your chances of converting this lead.

---

APPLICANT'S DETAILS

......

---

Full address 

.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant