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

Community site session details

Session Id :
Power Automate - Building Flows
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
I have the same question (0)
  • abm abm Profile Picture
    32,585 Most Valuable Professional on at
    Needing to replace a comma with "," and the output field always contains \",\"
     
     
    Hi
     
     
    Try the below
     
     
    Above compose expression is as follows:
    replace(outputs('Compose'),',','","')
     
     
     
     
  • JohnWalkerGBG Profile Picture
    2 on at
    Needing to replace a comma with "," and the output field always contains \",\"
    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
    32,585 Most Valuable Professional on at
    Needing to replace a comma with "," and the output field always contains \",\"
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard