files that contain exp1.
I can always read all of the files recursively line by line, save each line into an array until I find exp1 and then go backwards through the array until I find exp2 and see what "some text" on that line is, but I was wondering if I can somehow use regular
but I was wondering if I
can somehow use regular expressions over multiple lines to do this.
I hope this is a clear explanation of my problem.
Any insights or pointers to resourcesare greatly appreciated!
Thanks!
-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!