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 / Extracting text value ...
Power Automate
Unanswered

Extracting text value from Html to Text content

(0) ShareShare
ReportReport
Posted on by 30

Dear Community,

 

I'm currently working on a flow where I need to extract 'User' value from HTML content within an email. I've tried using "Html to Text" action to convert the HTML to text and then using various expressions to extract the user value, but I'm encountering challenges.

 

The Text content structure is as follows:

[.......]

........

Time: ........
Activity: .......
User: abc@xyz.com
Details: .........

..........

[......]

 

I've attempted to use the 'split' and 'replace' function in the expressions, but the results are not as expected. 

Here is the current expression I've been using: 

first(split(first(skip(split(outputs('Html_to_text')?['body'],'User: '),1)),'\n'))
 
Kindly help me out with this.
 
Thank you in advance.

 

 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 495

#3
Vish WR Profile Picture

Vish WR 429

Last 30 days Overall leaderboard