<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Extract specific lines from a VERY large text file]]></title><description><![CDATA[<p dir="auto">I use Proshow to create slide shows from photograpgs.  The file that Proshow creates is a just plain text file but very large.  The one I am working on at the moment has about 1.2 million line of text a small part is shown below</p>
<p dir="auto"><em>cell[331].customTransition.transId=2<br />
cell[331].customTransition.includeGlobalCaptions=1<br />
cell[332].imageEnable=1<br />
cell[332].nrOfImages=1<br />
cell[332].images[0].image=image/Flower 9283p copy.jpg<br />
cell[332].images[0].imageEnable=1<br />
cell[332].images[0].name=Flower 9283p copy</em></p>
<p dir="auto">What I would like to be able to do is to extract a list of all the images files used in their correct order.  The lines I want all have this format</p>
<p dir="auto"><em>cell[###].images[0].image=image/xxxxxxxx.jpg</em></p>
<p dir="auto">where xxxxxxx is the actual file name as above and will vary as will ###.  In all this show used 356 images.  I was looking at how to isolate all lines containing the string <em>.image=image/</em> and write them to a new file or delete all the lines that do not contain this string.</p>
<p dir="auto">So two questions</p>
<ol>
<li>
<p dir="auto">How can I extract all 356 lines from this master file and remove the rest</p>
</li>
<li>
<p dir="auto">Wouldl the extraction routine run in a reasonable time given the size of the original file.</p>
</li>
</ol>
<p dir="auto">Any help suggestions as to how to go about this would be most welcome.</p>
<p dir="auto">John</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23417/extract-specific-lines-from-a-very-large-text-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 12:52:04 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23417.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Aug 2022 20:44:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Extract specific lines from a VERY large text file on Sat, 27 Aug 2022 22:43:33 GMT]]></title><description><![CDATA[<p dir="auto">Sorry to have asked I have just found it is very easy to do with the search all function and then cut and paste the results</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79371</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79371</guid><dc:creator><![CDATA[John Cranmer]]></dc:creator><pubDate>Sat, 27 Aug 2022 22:43:33 GMT</pubDate></item></channel></rss>