Can you post 3-4 lines of sample data (including your header line)? I suspect the .* is being greedy. Craig Cook -- Systems Monitoring Consulting and Support Services http://www.cookitservices.com