i have lot of files which are not formatted properly.
The data is something like this
select *                  from table1 \n , table2
  select cnt(1) from                          table3
How can i remove unnecessary blank spaces and "/n"
result
select * from table1,table2
select cnt(1) from table3
Thanks in advance
 
     
    