Example with Grep4j 1.5 version (for jdk 1.5)



I need to find if any of several strings of my List exist in a List of files with extension .txt and .xml.


I have my own list of strings: "hello","goodbye","etc".


I need the list of files with "hello" or "goodbye" or "etc".


For example:



a.csv contains:
a|b|hello|d

b.xml contains:
<a>
<b></b>
<c>goodbye</c>
</a>


The List of files in this case are:



/path/folder1/a.csv
/path/folder2/b.xml

No comments:

Post a Comment