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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Expert, this is Ken, a beginer of PowerBI.
I collect some email from HTML to text. However, there are a long of string or character which impact my analysis; I would like to remove it. Is there specific function which can help to to remove the String below?
Text Characters/String I would like to remove:
[cid:0.28869237......181230d22e3__inline__img__src]
[https://......?id=01570000001okLb&oid=00D300000000bzv]
[data:image/....]
B.R.
Ken
Solved! Go to Solution.
Hi @kenchan ,
Please add the custom column in Power Query Editor.
= List.RemoveItems(List.Select(Splitter.SplitTextByAnyDelimiter({"[", "]"})([Original Data]), each not (Text.StartsWith(_, "cid",Comparer.OrdinalIgnoreCase) or Text.StartsWith(_, "https",Comparer.OrdinalIgnoreCase))), {"",null," ","#(lf)"})
Then extract values from the list.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kenchan ,
Please add the custom column in Power Query Editor.
= List.RemoveItems(List.Select(Splitter.SplitTextByAnyDelimiter({"[", "]"})([Original Data]), each not (Text.StartsWith(_, "cid",Comparer.OrdinalIgnoreCase) or Text.StartsWith(_, "https",Comparer.OrdinalIgnoreCase))), {"",null," ","#(lf)"})
Then extract values from the list.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Add an example for easy understanding.
I want to remove the string. Sometimes, some cells may inlcude both 1 and 2 situation.
1. start with "[cid" and end with "]"
1. start with "[https" and end with "]"
| Original Data | My expected outcome |
ABC [cid:0.28869237......181230d22e3__inline__img__src]
| ABC |
| xxxx [https://......?id=01570000001okLb&oid=00D300000000bzv]
| xxx |
| Original Data | My expected outcome |
ABC [cid:0.28869237......181230d22e3__inline__img__src] | ABC |
| xxxx [https://......?id=01570000001okLb&oid=00D300000000bzv] | xxxx |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |