web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Remove a row from text
Power Automate
Unanswered

Remove a row from text

(0) ShareShare
ReportReport
Posted on by 132

Hi i want top remove the last row from my text. How to do that? Do  I need to make a list first ? 

Zohaib1999_0-1708593359853.png

 

I have the same question (0)
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @Zohaib1999 

     

    You can convert your text string into list then you can remove the last line.

    Please refer the below suggested actions for the same.

    Deenuji_0-1708594229181.png

     

    Thanks,

    Deenu

  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    You can also do by simply using one Replace text -action. Use this Regular expression: ([^\n\r]*)$ and then just replace with %''%

    eetuRobo_2-1708605295617.png

     

    eetuRobo_3-1708605318088.png

     

    RowsText is before and Replaced is after:

    eetuRobo_1-1708605214432.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard