O'Reilly puts out a great book called Mastering Regular Expressions by Jeffrey Friedl which I highly recommend for anyone who plans to use regular expressions on a regular basis. (badoom, ching) As others have pointed out, you can't use a simple comma as a delimiter if your fields can contain commas. You'll have to do something like put quotes around the fields if you want to do that. Of course, if you also want to include quotes in the fields then it gets even more complicated. This should all become quite clear once you understand the basics of regular expression parsing, though. It is also possible that using regular expressions alone may not be the best approach. -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~