cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wolskis
Frequent Visitor

Replace expression doesn't work for back slashes

I have a flow that ingests a CSV via the default SFTP connector.  For some reason, this connector appends backslashes before double quotes, presumably so that they're escaped in the response body and not mistaken for JSON or another language.

 

Unfortunately, the replace() expression seems incapable of removing backslashes.  I've tried using the character, the ascii code for the character and using a variable to inject it.  None works.  I've also tried cleaning the CSV response and replacing the slashes later in the flow when the data is re-used.  I also tried using the replace expression to find anything with a backslash in it (eg. /"field/" is not matched, but 'field' is found).

 

I found this issue unsolved elsewhere
https://powerusers.microsoft.com/t5/General-Power-Automate/Remove-backslash-quot-quot-from-response/...

0 REPLIES 0

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,322)