Hi all,
I am working on a email body form scenario where I have to extract Name, Email and Company etc from an email body form to input my UI Flow. Problem is, when I am trying to extract and split Name field (First Name, Last Name), it shows the following result :
Here is my flow :

Extracting Name:
last(split(body('Convert_email_HTML_to_Text'),'Name:'))

First name:
split(outputs('Extracting_Name'),' ')[0]
Last Name:
split(outputs('Extracting_Name'),' ')[1]
Here in the last output when I am extracting the last name it also coming with the next line Which is Email.
Can anyone please help me on this?
Regards,
- Ahmad Khan