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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Needing to replace a c...
Power Automate
Unanswered

Needing to replace a comma with "," and the output field always contains \",\"

(0) ShareShare
ReportReport
Posted on by 2
Hi
 
Been researching and testing all the solutions I can find to try and work this out.  Sadly no luck
 
Have a text field in excel that has several values in it separated by comma e.g. 123456, 545454, 999999
 
These values are needed to be passed into a JSON request and need to be formatted so that the commas are replace with "," - so the outcome I am trying to get is 123456","545454","999999  (the first and last double quotes are dealt with in the JSON request
 
What I get is 123456\",\"545454Z\",\"999999
 
I've tried lots of suggestions on here to add a step after I get this output to
Try and remove using replacing with DecodeURIcomponent - %5C (the \)
Try and remove using replace \" with "
Try and remove using replace \ with '' (nothing)
 
Would anyone have ideas on how I can solve please?  Happy to be pointed to suggestions for further research
Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at
     
     
    Hi
     
     
    Try the below
     
     
    Above compose expression is as follows:
    replace(outputs('Compose'),',','","')
     
     
     
     
  • JohnWalkerGBG Profile Picture
    2 on at
    Thank you @Abm abm
     
    That was one of the options I had tried with the input data and sadly that didnt work
     
    Initially it did appear to work and the output on the run showed this image below
     
     
    When I looked at show raw outputs - the data that was passed to where I need to use it looked like this 
     
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at
    Hi
     
    Thanks for your reply. I need to see the flow and have a look.
     
    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard