I need to delete all text in html of body letter before one word from set of values ("Уважаемый", "Уважаемая", "Уважаемые"). I try to do like this:
LetterBody.Replace(Regex.Split(LetterBody, "(?=Уважаемый)|(?=Уважаемая)|(?=Уважаемые)")(0), "")
but using this method I lose almost all the formatting in the body of the email.
I programming in UiPath Studio using vb.net