Very new to power automate (so be kind lol) and trying to just make a simple flow to help with some stuff at work. I want to split the text from a standardized email template, which will eventually be directed into an excel table. I am having an issue where there seems to be extra space added after the text I want parsed (code shows the raw input is " Spar\n\n"). But the input from the email is "Spar"
Please see below for the result and code:
Email Template:
rug: Spar
pic: xxxxxxx xxxxxxxxx
ight: xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxx
rce: KL
First Line: first(skip(split(first(split(body('Html_to_text'),'pic')),'rug: '),1))
Second Line: first(skip(split(first(split(body('Html_to_text'),'ight')),'pic: '),1))

Third line: first(skip(split(first(split(body('Html_to_text'),'rce')),'ight: '),1))

Fourth Line (which is not having the issue, so no picture): first(skip(split(body('Html_to_text'),'rce: '),1))
Looking for any help or suggestions on how to fix this! Thanks!