Link to home
Start Free TrialLog in
Avatar of Tek Info
Tek Info

asked on

Extract date from text file to another text file

I would like to extract data from a Source.in file and save it to either another file called Output.out
The goal is to then copy the contents of the Output.out to the body of an email which can be sent out.
Please see that attached Source.in file.

I would like the Output.out text file to summarize the following data:


Ref#:  1009

Item:                 Full P:          Part P:
10-1000          2                  0
11-1111          1                  0


Thanks in advance for your help.
Source.in
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tek Info
Tek Info

ASKER

Wow this works amazingly oBdA  thank you very much.
I just didn't try the email feature yet but I will.
Many thanks.
I will need to open a few more tickets since there will be more data I will hope to calculate and display as well from that file and perhaps 1 more file at least.
I hope you chime in on this to help me through as you did this time.

Oh and only Ref# is constant in every file for all lines of data, the Imp can change..
Extremly helpful. Look forward to more assistance.