I have a large text file. How can i extract text between specific text pattern and print it to another file..is there any script for it in perl or python
Is the subsequence in the same line ore you need more general code. If it is in one line you may use the split() function with your patterns as the delimiters. If you need to apply it to many files it is also easy. Usually, such custom cede does not exist entirely in script but you may combine yours easily.
This depends on how large of a file are we talking here. If this is a small file, look at any regular expression solution. grep, awk, any-programming-language with regex support should work. But if the file is massive and response time is critical, you might have to dirty your hands with something like Hadoop.