[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: tokenizing comma separated string with quotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 22 Feb 2007 13:29:04 GMT
> Cool, thanks.  In csv quotes in quoted values are escaped by doubling
> the quotes, so just removing the opening/closing quotes is the way to
> go. 

well not exactly as a doubled quote wouldn't make it through the [^"]* regexp
in the first place. you need
([^"]|"")*
for that

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member