<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hey, Scripting Guy! How Can I Extract All the Text Between Two Tags in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/10/23/hey-scripting-guy-how-can-i-extract-all-the-text-between-two-tags-in-a-text-file.aspx</link><description>Hey, Scripting Guy! I have a whole bunch of text files in a folder. I need to open each of these files, extract everything between the &amp;lt;filecount&amp;gt; and &amp;lt;/filecount&amp;gt; tags, and then write that information to a separate file. How can I do that</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! How Can I Extract All the Text Between Two Tags in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/10/23/hey-scripting-guy-how-can-i-extract-all-the-text-between-two-tags-in-a-text-file.aspx#3354092</link><pubDate>Tue, 07 Sep 2010 22:48:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3354092</guid><dc:creator>Chris Doran</dc:creator><description>&lt;p&gt;How Can I Extract All the Text Between Two Tags in a Text File &lt;/p&gt;
&lt;p&gt;&amp;quot;We should point out that we’re assuming that the two target tags appear on&amp;quot;ly once in each file. Will this script work if those tags appear more than once? No. But maybe in the near future we’ll write a follow-up column of our own and show you how to do that.&amp;quot;&lt;/p&gt;
&lt;p&gt;Did you guys ever get around to doing a future write up if the text appears more then once?&lt;/p&gt;
&lt;p&gt;Thanks, you guys are alot of help for me.&lt;/p&gt;
&lt;p&gt;Chris Doran&lt;/p&gt;
&lt;p&gt;chris.doran@magna.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3354092" width="1" height="1"&gt;</description></item></channel></rss>