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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

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