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 / How to extract the tex...
Power Automate
Unanswered

How to extract the text ( Expression in Power Automate )

(0) ShareShare
ReportReport
Posted on by 11

 

Hello All, I have the Title in Planner tasks as follows

  • [App] This new update [M11CC1]
  • [App_test] this is major fix [F1MMC]

 

How to extract the Text between first [ ]

( i.e., I need )

  • App
  • App_test

 

What is the expression in power automate to do this ?

 

This will help me to get the Text in my planner which look slike this !

 

karthik_Dev_DPS_0-1648821311949.png

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,081 on at

    Assuming you have a string variable TaskText='[App] This new update [M11CC1]'

     

    split(split(variables('TaskText'),'[')[1],']')[0]

     

     

  • keithmcclungeip Profile Picture
    37 on at

    There are several ways, but here is mine:

     

    replace(
     first(
     split(
     REFERENCE TEXT HERE,
     ']'
     )
     ),
     '[',
     ''
    )

    All the best! 

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 456

#3
11manish Profile Picture

11manish 352

Last 30 days Overall leaderboard