Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi there,
I have a messy text that has </...span/..div>... in it. I need remove those charaters. Below is the text that I need to clean, I also add the result that I want to archive. It's appreciated if you could help out on the soultion. thanks.
Text: <div class="ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2"><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0);"><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>
Result: Barbara likes reading, cooking, and travelling.
Solved! Go to Solution.
No need to clean anything. Parse the HTML.
let
Source = Html.Table("<div class= ""ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2 ""><div style= ""font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0); ""><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>",{{"Text","span"}})
in
Source
No need to clean anything. Parse the HTML.
let
Source = Html.Table("<div class= ""ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2 ""><div style= ""font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0); ""><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>",{{"Text","span"}})
in
Source
It worked, thank you!
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
27 |