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 / Extract data from note...
Power Automate
Unanswered

Extract data from notepad file between delimitation

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

How to extract queries from a .txt(Notepad) file  between "/*#####  INDIVIDUAL START #####*/ and /*#####  INDIVIDUAL END #####*/

likewise between query1 and query2  and so on.

/*#####  INDIVIDUAL START #####*/
       
select * from emp;

select * from org;

/*#####  INDIVIDUAL END #####*/

/*##### SUPP- START #####*/

--## Query1 
select * from emp1;
--## Query2
select * from emp2;
--## Query3  
select * from emp3;

/*#####     SUPP - END    #####*/

Thanks in advance

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @NeerajYadav 

     

    You could consider using the Parse Text action, that is useful when extracting text using Regular Expressions from a text file/variable:

    PetrosF-MSFT_0-1606742892508.png

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard