I'm rewriting an old piece of software into a SSIS package. I have a text file which looks similar to this:
junk
other junk
other junk2
Sent: Friday, July 14, 2017 1:56 PM
more junk
more junk2
I need to open the file (path and filename are constants), look for "Sent:" and copy everything untill the new line (which in this case is " Friday, July 14, 2017 1:56 PM") into a variable that can be used by the SSIS package later on. My understanding is that SSIS doesn't have the required components and that I'll need a script task to do this. Could anyone help me out with this, please?
Also, since I have no experience using the script task/C#/VB a detailed guide would really be appreciated.

