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 Strippi...
Power Automate
Unanswered

Power Automate Stripping special characters

(0) ShareShare
ReportReport
Posted on by 20

I have a user who is building a flow to save email messages.  He would like to be able to strip any special characters from the subject line of an email before saving the message.

 

I believe an expression can be used to replace special characters with underline but I am not sure what that expression would look like.

 

Any assistance is appreciated

Categories:
I have the same question (0)
  • Verified answer
    mattias1172 Profile Picture
    385 on at

    If its the same 1 or 2 special characters, you can use the replace() expression. You'd need a replace for each character so it would not be ideal for a lot of them. 

     

    The syntax is: replace(text: string, oldText: string, newText: string)

     

    Example: replace('!mytext','!','')

    This example removes the ! since there is nothing in the new text section. 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard