Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

No way to remove special character(s) from text?

Like (1) ShareShare
ReportReport
Posted on 26 Dec 2023 19:42:46 by 28

I'm trying to remove special characters, specifically hyphens ("-") from a text string.  I tried to use "Replace Text" however it forces me to put in a character, which I DO NOT want to do since I want it deleted.  How do I do this?

  • Verified answer
    jesse535 Profile Picture
    28 on 26 Dec 2023 at 20:56:59
    Re: No way to remove special character(s) from text?

    I found solution on https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Removing-Spaces-from-Text/m-p/1170615

    You need to use %''% (kind of obscure but it works!)

    tkuehara_0-1626278113367.png

     

  • shoog Profile Picture
    2,164 on 26 Dec 2023 at 20:55:45
    Re: No way to remove special character(s) from text?

    In PAD, you can supply an empty string using %""%

  • jesse535 Profile Picture
    28 on 26 Dec 2023 at 20:51:13
    Re: No way to remove special character(s) from text?
     

    That's what I mean though it gives an error:

    replace error.png

  • shoog Profile Picture
    2,164 on 26 Dec 2023 at 20:12:41
    Re: No way to remove special character(s) from text?

    You can use the replac and replace with nothing.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 119 Super User 2025 Season 1

#2
CU12050101-0 Profile Picture

CU12050101-0 26

#3
Nived_Nambiar Profile Picture

Nived_Nambiar 20 Super User 2025 Season 1

Overall leaderboard
Loading started