Email foot note

hi all please assist, i want to remove that email foot not at the bottom, i dont want to include it as part of extracting email body;

Tried this regex, but it gives an error
image

Dear @Anelisa_Bolosha1 ,

Please use below regex. It will find all the text which starts with The and ends with email_disclaimer.pdf

System.Text.RegularExpressions.Regex.Replace(Email_Body,"The[\s\S]*?email_disclaimer\.pdf","")

Mark as solution if it solves your issue. :slight_smile:

Br,
NikZ

1 Like

@Anelisa_Bolosha1

First analys your email body and if you want remove the email foot means from The ** insurance Company … to disclaimer.pdf this part alone you want remove.

System.Text.RegularExpressions.Regex.Replace(Email_Body,“(?>This process)(.*)(\bpermissions)”,“”)

This will replace with empty between those two keys, if you want you can change those keys with your accurate keys

1 Like

Hi thank you for your response: I am receiving this error though

@Anelisa_Bolosha1

System.Text.RegularExpressions.Regex.Replace(Email_Body,“(?>starting of your email foot)(.*)(\bdisclaimer.pdf)”,“”)

you can replace value starting of your email foot with your actual value
The ? insurance in question mark place you can give the value that you hided

image
this text you can give in starting of your email foot

1 Like

Thank you, this helped a lot…problem solved :slight_smile:

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