On Fri, 2010-09-10 at 18:11 -0700, Nick wrote: > I dont mind if the commas are at the beginning and end, im more > concerned about "three,four" staying in one row because its surrounded > by quotes. -Nick It doesn't sound like a regex is the best solution here. Why not write a function in a language that offers a CSV library, like python? Regards, Jeff Davis -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general