<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to parse a certain column from a CSV string using Regular Expressions</title>
	<atom:link href="http://www.kozen.de/2008/06/17/how-to-parse-a-certain-column-using-regular-expressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kozen.de/2008/06/17/how-to-parse-a-certain-column-using-regular-expressions/</link>
	<description>live from China::Hong Kong S.A.R. (中国::香港特別行政區)</description>
	<lastBuildDate>Mon, 23 Jan 2012 03:32:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: kozen</title>
		<link>http://www.kozen.de/2008/06/17/how-to-parse-a-certain-column-using-regular-expressions/comment-page-1/#comment-20326</link>
		<dc:creator>kozen</dc:creator>
		<pubDate>Wed, 18 Jun 2008 07:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.kozen.de/?p=395#comment-20326</guid>
		<description>Leider ist das Feld, wo ich den regulären Ausdruck eingeben muß vielleicht 30 Zeichen lang oder so. Das wird dann schnell knapp, wenn ich Position 27 haben will :)</description>
		<content:encoded><![CDATA[<p>Leider ist das Feld, wo ich den regulären Ausdruck eingeben muß vielleicht 30 Zeichen lang oder so. Das wird dann schnell knapp, wenn ich Position 27 haben will <img src='http://www.kozen.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fok</title>
		<link>http://www.kozen.de/2008/06/17/how-to-parse-a-certain-column-using-regular-expressions/comment-page-1/#comment-20307</link>
		<dc:creator>fok</dc:creator>
		<pubDate>Tue, 17 Jun 2008 12:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kozen.de/?p=395#comment-20307</guid>
		<description>Ganz spontan und simpel hätte es auch einfach &lt;code&gt;^&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;[^&quot;]*&quot;,&quot;([^&quot;]*)&quot;,&lt;/code&gt; getan, da warst Du ja schon dran, ist allerdings nicht so elegant. :)

Beide Lösungen funktionieren allerdings nur, wenn &lt;code&gt;&quot;,&quot;&lt;/code&gt; nie Whitespace enthaelt und leere Felder immer &lt;code&gt;,&quot;&quot;,&lt;/code&gt; sind und nicht &lt;code&gt;,,&lt;/code&gt;...</description>
		<content:encoded><![CDATA[<p>Ganz spontan und simpel hätte es auch einfach <code>^"[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","[^"]*","([^"]*)",</code> getan, da warst Du ja schon dran, ist allerdings nicht so elegant. <img src='http://www.kozen.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Beide Lösungen funktionieren allerdings nur, wenn <code>","</code> nie Whitespace enthaelt und leere Felder immer <code>,"",</code> sind und nicht <code>,,</code>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kozen</title>
		<link>http://www.kozen.de/2008/06/17/how-to-parse-a-certain-column-using-regular-expressions/comment-page-1/#comment-20302</link>
		<dc:creator>kozen</dc:creator>
		<pubDate>Tue, 17 Jun 2008 09:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.kozen.de/?p=395#comment-20302</guid>
		<description>Thanks a lot to x who solved this issue in a second!

Here is the example for getting field number 13 without the quotation marks:

&lt;code&gt;(?:\&quot;[^&quot;]*\&quot;,){12}\&quot;([^&quot;]*)\&quot;,.*&lt;/code&gt;

I forgot to mention that the CSV line is part of a bigger file which means there can be lines before and after this CSV line that do not contain any relevant data :)</description>
		<content:encoded><![CDATA[<p>Thanks a lot to x who solved this issue in a second!</p>
<p>Here is the example for getting field number 13 without the quotation marks:</p>
<p><code>(?:\"[^"]*\",){12}\"([^"]*)\",.*</code></p>
<p>I forgot to mention that the CSV line is part of a bigger file which means there can be lines before and after this CSV line that do not contain any relevant data <img src='http://www.kozen.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

