Is there a way to extract text from an HTML email where you still have the line breaks included? When I use the HTML to Text function, it removes line breaks and puts my bullet points in 1 line. Would just like to get the data in the correct format.
@VJR thanks for the reply. This is correct in the example. The issue is that when you want to use the plain text output somewhere else, like saving it in sharepoint or ailing it to yourself, then it has no formatting applied and the bullet points will be next to one another.
Is there a possibility of taking the line break tags for eg <BR> before converting from html to text, then replacing them with some placeholder character like [*linebreakhere*]
and then later when its the right time add an actual line break wherever there is [*linebreakhere*] present.
There are several factors which will determine whether or not you can go ahead with this approach or not depending on how big or small your email text is, what are its contents, etc.
Also what is the html showing up at the place where there are line breaks, is it a html <BR> tag or anything else.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.