I need to write a Perl program which takes in account of a Text file and then finds a specific word. Whenever the specific word appears in the file Perl starts to record the lines or data written after that word and ends on another specific word. That means the data between those two words should be copied to another file. Those two sets of words can appear multiple times in the file.
In reply to Extracting specific Data by maheshkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |