I am trying to find the replace activity to convert the email body in HTML format to plain text in UiPath but cannot see it. The only activity I can see is the Replace Matching patterns
1 Like
When the email itself is still available as e.g. MailMessage had you tried to retrieve plain text directly from it. In general we should have the option also to get the PlainText along the HTML Body
About the Extract Text Activity keep in mind that there is still the glue together bug / risk)
HTML:
A code like:
"<p>val#1<ul><li>val#2</li><li>val#3</li></ul></p>"
will result to
1 Like
Why You are using replace
Enable the option:
If you want to write the HTML code use the below website:
Awesome, now how do I display the extracted text
Awesome, now how do I display the extracted text?
Regex.Replace(CurrentMail.Body,β<[^>]*>β ,ββ)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.