cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GuyBar
Frequent Visitor

Retrieve Text from file

Hello
I got a text file that was  downloaded from the internet.
I would like to retrieve a line from that text file, what is the best way to do it , and how.
Thank you
Guy

4 REPLIES 4
CFernandes
Super User
Super User

Hey Mate,

 

You can use "Read text from file"

 

CFernandes_0-1619889904014.png

 

and the use Parse Text action and to extract text(you can use regular expression)

 

CFernandes_1-1619889993162.png

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

 

GuyBar
Frequent Visitor

Hello
Thank you for replying
I am getting the next phase:
1</link>
<title>On the way to NY</title>
<description
From that text I would like to erase lines 1 & 3
And to retrieve the text between the 2 </title>

Any idea how to do it ?
TNX

Henrik_M
Super User
Super User

(?<=<title>).+(?=</title>)

GuyBar
Frequent Visitor

I dont really understand about the way to do it

Can you provide detailed explanation ?
TNX

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (2,797)