Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21090

search Strings of .txt in two .pdf files in a folder and export the match in a .txt

$
0
0
Dear VBForums ppl,

I am Very new to coding world and recently started a little project for my internship job, could end up full time if i do good :).
So basically i have a .txt file located
c:/test.txt

Contains data like :

192837-3764
1234
345-t4 0.06
23/234"
and so on, have 5000 lines of such nature.

Now I have 2 pdf files located c:/pdf/one.pdf and two.pdf

I am trying to make little vb exe which search every string from .txt file one line by line and search in both pdfs, if found, write it in a .txt file

for example if line "192837-3764" of test.txt file matches in any one of the pdf data, then it should write a file c:/found.txt and add "192837-3764" and should not write the unmatched string.

For me this type of programme is beyond my skills as the basic project i can do is read from txt file and write on txt file. I cant interface a search in pdf.

Please assist.

Best weekend wishes.
Code

Viewing all articles
Browse latest Browse all 21090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>