Our server generating comma delimited cvs file from a database. The syntax of the file is somethig similar to:
ITEM #,DESCRIPTION,CASE PACK,UPC,ONHAND,ONODER,ONDEMAND,PRICE,CAT/CLASS,YTD SELLS
31888.16,ROYAL CREST 16PC GLASS DW ,2,85081593368,80,25000,2904,8.19,GAB2,51393.91
38270.16,"CONCORD HARVEST 16PC DW,GRAPE ",2,85081632746,4856,0,1704,8.77,GAB2,5542.26
What I need to do the following:
1. Remove heading row starting from ITEM # and ending YTD SELLS
2. Remove extra spaces Ex: . . .GRAPE . . . (some spaces after word GRAPE)
3. Remove "
4. Save Edited file
How can I do it? Any help would be appreciated.
ITEM #,DESCRIPTION,CASE PACK,UPC,ONHAND,ONODER,ONDEMAND,PRICE,CAT/CLASS,YTD SELLS
31888.16,ROYAL CREST 16PC GLASS DW ,2,85081593368,80,25000,2904,8.19,GAB2,51393.91
38270.16,"CONCORD HARVEST 16PC DW,GRAPE ",2,85081632746,4856,0,1704,8.77,GAB2,5542.26
What I need to do the following:
1. Remove heading row starting from ITEM # and ending YTD SELLS
2. Remove extra spaces Ex: . . .GRAPE . . . (some spaces after word GRAPE)
3. Remove "
4. Save Edited file
How can I do it? Any help would be appreciated.