web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Flow to...
Power Automate
Unanswered

Power Automate Flow to Check a String contains any special characters like '!@#$%*)('.

(0) ShareShare
ReportReport
Posted on by 51

When an email arrives with an attachment I get the name of the attachment, check whether it contains any special characters like '!@#$%*)('. right now, I am doing is checking each of the special characters is there in the attachment name.

sajinshaji_0-1705299342297.png

Can anyone get any ideas

Categories:
I have the same question (0)
  • Verified answer
    v-yetonggu-msft Profile Picture
    on at

    Hi @sajinshaji ,

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_0-1705302769998.png

    vyetonggumsft_1-1705302812105.png

     

    ["'", "!", "@", "£", "^", "=", ",", "%", "[", "]", ";", "~", "?", "<", ">", "|", "u0001", "u0007"]
    item()
    length(body('Filter_array'))

     

    I think this link could help you:

    Remove unwanted characters from a string in Power Automate (tachytelic.net)

    Best Regards,

    Sunshine Gu

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard