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 / MS Flow: How to extrac...
Power Automate
Unanswered

MS Flow: How to extract string after a particular text which occurs multiple times.

(0) ShareShare
ReportReport
Posted on by

Can anyone advice me how to extract string after a particular text which occurs multiple times and store the data to a Compose function so that I can use the compose function to store the date to an Excel sheet.

 

I have extracted the contents below from an email and converted to text via MS Flow.

 

What I need is the string of sentence after the word "Reason", which you can see here occurs multiple times and each string contains different values:

 

In short, I want the values as follows:

 

Primary : UPG6_Coupler Insertion on 001 Omnibus.

Backup : UPG6_Coupler Insertion on 002 Omnibus.

Backup : UPG6_Coupler Insertion on 003 Omnibus.

 

=====================================

 

Contents

=======

 

1. Circuit: BKK/MAL/TOK 1445
 
Date/ Time 1 (SGT): 20-Jun-2023 04:00 - 20-Jun-2023 14:00
 
Date/ Time 1 (UTC): 19-Jun-2023 20:00 - 20-Jun-2023 06:00
 
Impact : Primary : The circuit will be down within the entire maintenance window period.
 
Reason : Primary : UPG6_Coupler Insertion on 001 Omnibus.
 
Date/ Time 2 (SGT): 23-Jun-2023 02:00 - 26-Jun-2023 10:00
Date/ Time 2 (UTC): 20-Jun-2023 20:00 - 21-Jun-2023 06:00
 
 
Impact : Backup : The circuit will be down within the entire maintenance window period.
 
Reason : Backup : UPG6_Coupler Insertion on 002 Omnibus.
 
 
Date/ Time 3 (SGT): 27-Jun-2023 02:00 - 28-Jun-2023 10:00
Date/ Time 3 (UTC): 26-Jun-2023 20:00 - 27-Jun-2023 06:00
 
 
Impact : Backup : The circuit will be down within the entire maintenance window period.
 
Reason : Backup : UPG6_Coupler Insertion on 003 Omnibus.
 
 
 
** SGT means Singapore Time (+8 UTC/GMT)
   
=====================================
 
Appreciate your help on this. Thanks!
Categories:
I have the same question (0)

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 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard