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 / Parsing text and extra...
Power Automate
Unanswered

Parsing text and extracting text

(0) ShareShare
ReportReport
Posted on by

I receive an automated email message with tabular data. I have used the "HTML to Text" function and received the output listed below. I am trying to capture each identifier such as "Name," "Company," "Address," etc. There are seven such fields that I'd like to capture so that they can be displayed in an Excel file across columns.


Search Criteria:

Name

: Wiley Coyote

Company

: Acme Corporation

Address

: 123 Sunset Ln

City

: Palo Alto

State

: CA

Country

: United States

Zip Code

: 98765

Search type:

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @ssmith1 

    Here's one way to do it:

    DJ_Jamba_0-1711573179846.png

    The first 3 actions are Compose actions:
    1st Compose - just hit enter. That's how we will split the text to parse

    2nd Compose - The text you posted as an example

    3rd Compose:

     

     

    split(outputs('Text_to_parse'),outputs('Line_break'))

     

     


    Use Filter array to get the columns, by putting Compose 3 in the From field and using the following formula (entered in Advanced mode)

     

     

    @or(not(startsWith(item(), ':')),endswith(item(), ':'))

     

     

    Here's the result for columns:

    DJ_Jamba_1-1711573539039.png


    If you want values, change the Filter array to:

    @startsWith(item(), ':')


    Result for values:

    DJ_Jamba_2-1711573762300.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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard