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>)

I dont really understand about the way to do it

Can you provide detailed explanation ?
TNX

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,099)