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 / Split CSV by commas ex...
Power Automate
Answered

Split CSV by commas except in quotes

(0) ShareShare
ReportReport
Posted on by 76

Hi,

 

I am trying to split this CSV at each comma, but don't want to split commas in quotes.

[
 "ContClient,ContMFE,ProcName,RecTitle,Remarks,RespParty,RespPartyText,Specifications",
 "Witness,Witness,WPS/PQR Approval,test title,this is a remark,Client,,\"ASME BPVC Sec. IX, AS3992\"",
 ""
]

 

The split function still seems to split the comma between the two double quotes on the second line.

I can't seem to find a solution to this and would appreciate some help.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Rhiassuring Profile Picture
    8,692 Moderator on at

    Take a look at this: 

     

    https://powerusers.microsoft.com/t5/Building-Flows/Split-string-using-comma-delimiter-but-ignore-text-within/m-p/1615907/highlight/true#M180005

     

    There's also a video recommending another path, by Paul Murana 

     

    https://www.tachytelic.net/2021/02/power-automate-parse-csv/

     

    There's also this entry by @takolota in the Power Automate Cookbook:

     

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/CSV-to-Dataset/td-p/1508191 

  • MFEProjects Profile Picture
    76 on at

    Thanks for the reply @Rhiassuring,

     

    I went with cookbook solution. I'm fairly new to Power Automate so some of the flow is confusing.

    However, with a bit of tweaking it seems to work perfectly.

     

    I appreciate the help.

     

    Cheers

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard