Skip to main content

Any thoughts on how to strip things like Re: Fwd: and Fw: from email subjects via the ontology? These two regex patterns are close but have issues:

(?i)[^(Fwd:) |Re: ].*,?

(?:(?i)re: |fwd: |fw: )?(.*)

Are you using the exchange/email connector? If so, you can use 'capture group' regexes in the connector's configuration to extract new fields and then just pick them up with the ontology


Ah, that's a good point. I'm using a custom mailgun connector but could probably borrow the code from the exchange connector. Thanks!


Reply