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

Sharepoint - "Created By Email" => Strip and attach

Hi all,

 

How can I convert the Sharepoint option -> input field "Created By Email" to the same user but a different domain and tld.

 

For Example:

The "Created By Email" field contains "david.peters@example.eu".

What is in front of the @ sign needs to be stripped and attached to "@replaced.com".

End result needs to be "david.peters@replaced.com".

 

How can I achieve this?

Thanks in advance!!

1 ACCEPTED SOLUTION

Accepted Solutions
CFernandes
Super User
Super User

Hey Mate @PowerAutomate4 

 

You can just use replace right -

 

CFernandes_0-1636127625050.png

 

If yes you can just use - 

 

replace(outputs('Compose'),'@example.eu','@replaced.com')
 
You can replace outputs('Compose') with your variable.
 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 
 

View solution in original post

1 REPLY 1
CFernandes
Super User
Super User

Hey Mate @PowerAutomate4 

 

You can just use replace right -

 

CFernandes_0-1636127625050.png

 

If yes you can just use - 

 

replace(outputs('Compose'),'@example.eu','@replaced.com')
 
You can replace outputs('Compose') with your variable.
 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 
 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,725)