Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

How to Convert HTML content to Normal text.

Posted on by 62

Hello,

My requirement is convert HTML content only into Normal text.

Example:

I have HTML data as below

Notes Setup<div>Test 12</div><div>36747</div><div><br /></div><div>374774</div><div><br /></div><div>47448</div><div><br /></div><div>47474</div><div><br /></div><div>47748<span style="white-space:pre">    </span></div>

Result should be in Normal text as below:

Notes Setup

Test 12

36747

374774

47448

Thanks in advance for help.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    RE: How to Convert HTML content to Normal text.

    Hi, Maybe you can give Power Automate a try.

    https://vblogs.in/convert-html-to-text-in-power-automate/

    More details about Power Automate and BC:

    https://yzhums.com/25646/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: How to Convert HTML content to Normal text.

    hi

    you can't do that unless you build an ad hoc algorithm, but that's hard to do.

    try to consider using a Json as a structure

    DAniele

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans