Extracting emailBody as formatted

Hi Folks,

i need to extract Informations from an Email, but ist formatted with some of new lines / line breaks, a header line and last two lines with url-links.

wenn i try to extract with;
String.Concat(currentMailMessage.Subject, Environment.NewLine, currentMailMessage.Body)

then i get just body in standart plain text without formatting and url-links… how can i extract it same in email form?
like:

thanks

@mustafa1,

It depends on what use case you have for getting this formatted string.

If you are looking for the URLs from the email body, read the email body as html and extract URL using regex