How to extract required data from text file which has duplicate values?

Thanks for quick reply.

Every thing working fine only problem is for the currency it was taking the next field name.

Like we need only EUR but are getting EUR Account