Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I have a file named input.txt which contains the following data XXXX YYYY START These are the first set of lines which are to be extracted END XXX ZZZ YYY START These are the second set of lines which are to be extracted END aasds tteret tertetr ...... ..... --------------- I want to extract only the data which is present in between the START and END tags while reading the file using a file handle.How to do this ? In reply to Getting lines in a file between two patterns by darklord_999
|
|