Find Text in Directory ?

How to find variable string or integer in a directory ? consider the sample below : good luck !