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 Apps / Get part of text string
Power Apps
Answered

Get part of text string

(0) ShareShare
ReportReport
Posted on by 393

Dear Experts,

 

I am struggling to get part of text from a string in power apps.

 

For example, my text field is:

User1 <user1@gmail.com>; User2 <user2@yahoo.com> ; User3 <user3@hotmail.com

 

I would like to extract all emails (meaning texts in between "<" and ">") from the above string. Desired output:  user1@gmail.com; user2@yahoo.com; user3@hotmail.com

 

I have tried using SPLIT and FIND functions but to no avail.

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at
    Concat(
     Filter(
     Split(
     Concat(
     Filter(
     Split(
     "User1 <user1@gmail.com>; User2 <user2@yahoo.com> ; User3 <user3@hotmail.com",
     ";"
     ),
     "@" in Result
     ),
     Substitute(
     Substitute(
     Result,
     ">",
     ""
     ),
     "<",
     ""
     )
     ),
     " "
     ),
     "@" in Result
     ),
     Result & "; "
    )

     

    Hi @JAWL, the above should work for your situation - there was an extra layer of splitting needed to accommodate for the potential spaces between semi colons, but I tried it with a few examples and it worked correctly.

     

    Just replace "User1 <user1@gmail.com>; User2 <user2@yahoo.com> ; User3 <user3@hotmail.com" with LabelName.Text if you need to refer to the label that currently contains the text, otherwise point it directly to the column or source.

     

    Cheers,

    Sancho

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard