Announcements
Hi Experts,
I'm having a flow to save attachments uploaded by users. My issue is if the attachment has some special character that not allowed then the flow don't run.
~, #, %, & , *, {, }, \, :, <, >, ?, /, |, "
Can anyone help me on how to remove these characters
Hi @AnPhamEFL
You basically want to create an array of the invalid characters and then with an apply to each, replace each of them with nothing.
There is an article here explaining how to do it:
https://www.alanps1.io/power-platform/flow/flow-stripping-unwanted-characters-or-special-characters-from-a-string/
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.Cheers,Damien P.S. take a look at my new blog here
Hi @DamoBird365
Thank you for your suggestion, do you have any advise on below error.
You are calling the Current Item outside of your apply to each. It applies to the loop and so any reference to it must be within that loop.
How are you getting on?
Sorry for the late reply, thank you so much for your help !
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 389
11manish 345 Super User 2026 Season 2
M Bilal Khan 308