Skip to main content

Notifications

Community site session details

Community site session details

Session Id : xUgIojimZIA8dgMzYkfVCN
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 4 Super User 2025 Season 1

#2
KO-05050229-0 Profile Picture

KO-05050229-0 2

#2
stampcoin Profile Picture

stampcoin 2

Overall leaderboard
Loading started
Loading complete