I am trying to use the string parsing method on the message body of an incoming HTML email. I can get this to partially match, but the output contains some new lines/carriage returns. My goal is to try and match on the new line in the message.substringBetween parse, so that I only output a single concise line of text.
Input I am trying to parse:
Parse I am using:
Non-working desired command
P.S. I have also tried RegEx extract and that is a nightmare. I can partially get matches. Things that work in regex testers perfectly won’t translate over to opsgenie unfortunately.
If regex is the way to go. My problem there is for some reason it wont match on a space. I have tried to escape the space as a test, i.e. “Message-ID\ \n”