07-03-2013, 01:12 AM
Hi
i have an scenario, where i need to search for an string in all the files under all the subdirectoy. i have total of 600 files. Now, i am opening, reading and using RegExp looking for an string in that object. Is there is any other way to get the list of files for matching string, so that i can open only those files to parse.
similar to grep in unix - where the string will be searched without file operation.
i have an scenario, where i need to search for an string in all the files under all the subdirectoy. i have total of 600 files. Now, i am opening, reading and using RegExp looking for an string in that object. Is there is any other way to get the list of files for matching string, so that i can open only those files to parse.
similar to grep in unix - where the string will be searched without file operation.