Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |