Cutting out a particular region of a file
I have a file where I need to cut a specific set of lines. For example my file contains:
Now I am providing 2 strings "brown fox" and "the lazy ". So, I should get a output like:
Any help would be appreciable.