I have a jira comment that is generated via email to our JSM project.
I am trying to strip the corporate virus scan info and quoted body from the email thread. If I dont do this the JSM tickets are un-redable.
I have good consistent markers for the deletion.
I am using
comment.body.substringBefore("{quote}") and
comment.body.subsstringAfter("end-->")
and those functions work great.
I would like to use comment.body.substringBetween but when I use that function I don't get a result.
Any thoughts?