We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to read a text file with header footer in fixed format and data with "|" seperated

Hi , I have a file which is a text format and it has header and footer and the data are fixed format for header and trailer . In between header and footer I have data with either “,” or “|” or tab delimited. I wanted to read all the values from body part and few values from header and trailer and finally create a c# entity with the necessary information. I will really appreciate the help.

Hi there,

Thanks for your inquiry. In your case, we suggest you please read the data from the text file and insert it into the Document using DocumentBuilder. Please refer to the following article:

Use DocumentBuilder to Insert Document Elements

Could you please share your input and expected output documents here for our reference? We will then provide you more information about your query.