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 Multiple ID's ...
Power Automate
Unanswered

Extract Multiple ID's out of Email Body

(0) ShareShare
ReportReport
Posted on by 301

Hi,

 

Im trying to remove all irrelevant data and extract multiple IDs out of an email body to use the IDs to change a sharepoint list.

 

The emails recieved will contain multiple instances of CrateID:RZCS9999 (and various others i.e CrateID:RZCS9998)

 

currently however the filter array creates the following from the emails

 

[
  "RZCS9809 ",
  "RZCS9999 ",
  "RZCS9998 "
]
 
I cannot get rid of the spaces at the end of the ID's and i can't figure out how to use each individual?
 
(The following is my composes)

 

RemoveEmptyLines =

replace(outputs('HTMLInsideCompose'),outputs('EmptyLines'),'')

 

TrimCompose

substring(outputs('RemoveEmptyLines'),0,sub(length(outputs('RemoveEmptyLines')),1))
 
AllOnANewLine
split(outputs('RemoveEmptyLines'),'CrateID:')
 
And the Filter Array is supposed to seperate

1.png2.png

 

 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard