Hi,
I'm trying to create a regular expression that I can use to remove email signatures from issues created from emails. I have something that works quite well in Notepad++ but it won't work in a replaceAll() function in a Jira automation over the description field.
One of the problems seems to be that replaceAll() (and also match()) doesn't seem to be able to match linebreaks.
In addition, I have not been able to successfully use '^' or '$' to match line beginnings or endings.
So, my questions are:
1. Can somebody give me working example of a replaceAll() statement that uses '^', '$' and especially '\n'?
2. Is it somehow possible to make the dot greedy so that it consumes newline characters?
Thanks in advance,
Alex