Hi Programmers,
<code>
How are you?
I need to write a program for my company. Here is what it must do.
here are the contents of an Input file - input.txt
--------------------
Adfa gewaf adsgad
Eaq wr:e gtgad
Eadg fadg
aero uobu abfoasd
aweouo iaustart:<tab charachter> I need
all the text from here
all the way through &
till HERE end:tab charachter wereerr
erwe vaerwe
ere vaw:ew
--------------------
I need to write a program in perl using multiline pattern matching,
that will open the file input.txt, & print out the contents after start: till end:, as
1) a string.
2) in the same line format
note that after start: there is a tab character.
also after the end: there is a tab character.
I need to only print the tab character after start: followed by all the contents till end:
Basically the output should be this.
--
<tab character> I need
all the text from here
all the way through &
till HERE
--
Please write me a program for the same.
It will help.
Thank you so much.
-Prasanth.