I have following types of txt files in my source and contents of each files are mentioned below in CAPS:
a1.txt:
KEYWORD1
SQLDB
a2.txt:
KEYWORD1
KEYWORD2
a3.txt:
KEYWORD1
KEYWORD2
SQLDB
a4.txt:
KEYWORD1
KEYWORD2
From the above files, I need to search only txt files contains 'SQLDB' to fetch values 'KEYWORD1' or 'KEYWORD2' inside that file.
In above example, it should search only a1.txt and a3.txt files for me to have my further searches.
So basically, need to identify certain ways similar to Exists.
Appreciable, if anyone can help me to achieve this..
... View more