From: James Edward Gray II Date: 2009-11-18T05:06:50+09:00 Subject: Re: Special characters in csv header using fastercsv On Nov 17, 2009, at 1:49 PM, John Mcleod wrote: > So to delete or remove say additional special characters, you would add > additional characters to the range? > > h.tr(" ", "_").delete("^a-zA-Z0-9_#$-") As I said in my last message, the leading ^ means NOT. Thus, I deleted all characters that are NOT letters, numbers, or underscores. That includes characters like #, $, and -. Your change added those characters to the list NOT to delete, so they would now be skipped. James Edward Gray II