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 / How to eliminate the c...
Power Apps
Answered

How to eliminate the characters from string in power automate?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have string that is getting from user profile 

 

say example

abc@microsoft.com;xyz@microsoft.com

 

Requirement is to remove @microsoft.com from both email ids and put it in email body  like below.

 

Dear abc , xyz

 

Can you please help me ? you response will be appreciated. 

VDeepakHadpad_1-1647429794652.png

 

 

I have tried with spilt and substring I didn't get what I wanted .

Thanks

Deepak

 

Categories:
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @VDeepakHadpad 

     

    Power Automate has an expression replace.  You could therefore replace(dynamicvalue, '@microsoft.com', ''), you could also replace the ; with a , too if needed.

     

    replace(replace(outputs('Compose'),'@microsoft.com',''),';',',')
     
    DamoBird365_0-1647461709270.png

    Output:

    DamoBird365_1-1647461734408.png

     

    Please consider accepting my answer as a solution if it helps to solve your problem.

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

  • VDeepakHadpad Profile Picture
    Microsoft Employee on at

    @DamoBird365 , Thanks a lot . you saved my day.

  • VDeepakHadpad Profile Picture
    Microsoft Employee on at

    Hi Floks,

     

    how to apply below logic in flow? I stuck here. Please help!

     

    I Have flow , where i am putting a condition like when item created\ modified by me then terminate a flow. 

    on other hand i want to like when an item created\ modified by me and fWs_flag = Send (i am putting this "send "from SharePoint backend )then flow should trigger an email and continue with other below set of actions.

    I am using parallel condition , it is not triggering last email which i shown in image with question mark.

    Please help me here , how do i trigger a set of action if created by me and ws_flag is equal to Send.

     

     

     

    VDeepakHadpad_0-1648731446716.png

     

    Regards

    Deepak

  • VDeepakHadpad Profile Picture
    Microsoft Employee on at

    Hi Floks,

     

    how to apply below logic in flow? I stuck here. Please help!

     

    I Have flow , where i am putting a condition like when item created\ modified by me then terminate a flow. 

    on other hand i want to like when an item created\ modified by me and fWs_flag = Send (i am putting this "send "from SharePoint backend )then flow should trigger an email and continue with other below set of actions.

    I am using parallel condition , it is not triggering last email which i shown in image with question mark.

    Please help me here , how do i trigger a set of action if created by me and ws_flag is equal to Send.

     

     

     

    VDeepakHadpad_0-1648731638793.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 Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard