Extract Variables From Email Used to Start Process

Hi,

I am receiving emails that start processes and contain variables which I need to extract. The email body looks something like this:
var1: value1
var2: value2

I am using the function extract(emailbody,"var1:","var2:"). In the returned text there is always a line break contained. The line breaks are represented as "<" characters in my variable for exampele like this: "test<test<".

Does anyone know why the result looks like this and how I can get it to keep the line breaks?

TIA, Moritz

...

OriginalPostID-126894

OriginalPostID-126894

  Discussion posts and replies are publicly visible