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 / Remove brackets and un...
Power Automate
Answered

Remove brackets and unwanted text from string output

(0) ShareShare
ReportReport
Posted on by 776

Hi Experts,

 

I have below output in compose action.

 

{"contentType":"html","content":"

We will be retiring the apps based on the following Teams App Templates
[\"https://learn.microsoft.com/microsoftteams/platform/samples/app-templates\"]
- Poll, Survey, Checklist, Quiz and Training. Check the app store for alternate
options.

Note: If your organization is not using Teams App Templates you can safely
disregard this message.

[When this will happen:]

The applications will be active until 10th February. Users will be able to
retrieve any data until 10th March. On 10th March the applications will be fully
retired.

[How this will affect your organization:]


If your organization is using Teams App Templates
[\"https://learn.microsoft.com/microsoftteams/platform/samples/app-templates\"]
for any of the following - Poll, Survey, Checklist, Quiz and Training, the apps
will stop functioning after the date of retirement.


[What you need to do to prepare:]


You can request your users to download any data from the option available within
the apps before the date of retirement. Note, the above retirement has no impact
on the Polls app
[\"https://techcommunity.microsoft.com/t5/microsoft-forms-blog/newly-launched-app-with-intuitive-and-easy-to-access-polling/ba-p/3610091\"]
in teams. For further information you can reach out to
ActionServiceSupport@microsoft.com.

"}

 

 

I would like to remove  {"contentType":"html","content":" - from the beginning of the text 

 

Capture URLs into separate compose action - like one URL at time as this output contains multiple URLs

 

Remove this "} from the ending

 

Just to filter everything and capture text and URLs into separate compose action.

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @AshishJaiswal  Use replace() expression and replace asked string with '' (single quote without space) and then split your remaining as per your need.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @AshishJaiswal ,

     

    Sharing another solution. Directly extract the content:

    Kaif_Siddique_0-1673466567204.png

     

    Regards

    Kaif

  • AshishJaiswal Profile Picture
    776 on at

    @Kaif_Siddique Brother- you just made my day....Thank you for this !! it works really well.

    Thank you again 😁

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    You are welcome..

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard