Email Line remove

Good day,

Can someone please assist: I am trying to remove a line that is part of the footer on the outlook email, how do I do it?
The output comes out like this

the email was like this before with those 2 lines at the bottom:

Hello,

If the last line always contains a number, you can try removing everything after the number in the last line using string manipulation. :slight_smile:

@Anelisa_Bolosha1

I believe its already asked and resolved?

cheers

Email body will always be different

Hi @Anil_G ,

Yes I did ask it and got the solution. This was the problem I had -I wanted to remove that footer here marked in blue and I got the solution to remove it

But the below lines remained

@Anelisa_Bolosha1

Did you try str.Replace("_","")

Cheers

2 Likes

Hey @Anil_G ,I did thank you so much
Now I want to extract the name; surname; email address and the subject line as highlighted below:

@Anelisa_Bolosha1

email address use str.split({"mailto:"},StringSplitOptions.None)(1).split(">"c).First

Name can be retreived but first name last might be difficult..if you assume its always only two names no initals or third name then after extracting name split with space to get both

Name - str.split({"From:"},StringSplitOptions.None)(1).split("<"c).First.Trim

Subject - str.split({"Subject:"},StringSplitOptions.None)(1).Trim

cheers

1 Like

:slight_smile: THIS IS ALSO A SOLUTION

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.