Hi to all,
I need your help configuring an Incoming Mail Handler with Rex ex content exclusion.
I need to strip the text after the second occurrence of the word "From".
I have checked on https://regex101.com/ this regex
/^(?:.*?\KFrom){2}|>/s
The result is the one I expected:
the original text is
From: XXXX
Any text
From: YYYY
Any text
The result applying the regex is:
From: XXXX
Any text
From: YYYY
Any text
The highlighted text is exactly the string after which I need to strip the content.
When I try to insert the above regular expression on JIRA Incoming Mail Handler nothing happens, the email content is not stripped and all it is used to create the comment on the issue.
Any idea?
Thank you in advance
Regards
Arianna