Hello All ... To start this properly, I am quite new to vbscript so please excuse my ignorance. I am looking for a simple way to compare 2 text files which contain several lines of header information. After that comes part numbers which I am most interested in. I would like to then output common part numbers that are found in both text files. The part numbers all have a pound sign before them so I guess this would be the unique identifier for what to look at. The text files look much like this with header info:
Part Number 9-788-01; 7/2/2012; 9-788-01-TOP
Left Bracket Assembly
#CA299-000
#CA111-200
#AR344-01GH
There are usually 100 lines in each text file. So what I want to do is ignore anything in any text file except for what comes after a pound sign. Find matching part numbers in the 2 files and output them to a separate text file.
Any ideas how to do this? Thanks in advance for any help! Your time is greatly appreciated.
Part Number 9-788-01; 7/2/2012; 9-788-01-TOP
Left Bracket Assembly
#CA299-000
#CA111-200
#AR344-01GH
There are usually 100 lines in each text file. So what I want to do is ignore anything in any text file except for what comes after a pound sign. Find matching part numbers in the 2 files and output them to a separate text file.
Any ideas how to do this? Thanks in advance for any help! Your time is greatly appreciated.