I have this file alert.txt with these words:
Subject: Syslog Alert Notification
I would like to capture the text from subject and to and create a new txt file.
The new file will look something like this.
Syslog Alert Notification
Appreciate if anyone can help me on this.