POSIX [:alnum:] means alphanumeric You probably want [:digit:].
In reply to Re: CSV File Parsing by Not_a_Number in thread CSV File Parsing by Anonymous Monk