From: "Stephan Kämper" Date: 2002-02-14T01:54:37+09:00 Subject: Re: (CSV) text file processing... Bob wrote: > > I am looking for an example of (csv)text file processing. What I am > specifically after is how to take a file with a CSV format and parse > it out. This will be used with MySQL to help a customer upload a file > for an inventory and then the Ruby script will parse it and place the > values into the appropriate fields in the database. > > Any such examples out there? > > Bob I read about it in Jeffrey Friedls "Mastering Regular Expressions" (O'Reilly). The book deals with Perl RegExes, but most of the material might well be applied to Ruby's RegExes, too. Stephan