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

Extract number from email's subject

We receive many emails whitch de subject is compossed by "<number-10digts> <number-10digits> CEMIG Distribuição S.A." and I would like to extract the second number and use as a key to update a line from an excel table.

I'm new at it and don't know how to start.

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@mbefmdc 

Please see my example below.  I use a split expression and split on a space.  Then I reference the second element in the array from split (index is 1).

image.pngimage.pngimage.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @mbefmdc 

 

Have you got spaces between these numbers and text. Use a split function to extract the numbers

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
ScottShearer
Super User
Super User

@mbefmdc 

Please see my example below.  I use a split expression and split on a space.  Then I reference the second element in the array from split (index is 1).

image.pngimage.pngimage.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Hi @ScottShearer 

 

Apologies didn't realised that you already posted the answer.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,299)