Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

Insert Data Into Text File


eusanpe

Question

Hello all,

I am hoping someone can help me with something I am trying to do.

I have a lot of files that have data as such...

Description:
This is a description test
This is a description test2
;;

Summary:
This is a test
This is a second test
This is a third test
;;

Keywords: data, data1
;;


Or it could be:

Description: This is a description test
This is a description test2
;;

Summary: This is a test
This is a second test
This is a third test
;;

Keywords: data, data1
;;

What I am wanting to do is insert the following text after the "Summary:" and all the text and before the ";;" terminator to all the files.

Date		Modified by
----------------------------------
12/21/2018	Tony P.

Any help is deeply appreciated.

Thanks,

Tony

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

jhan,

Thank you for the reply. Here is what I am looking to achieve.

Tony

Description:
This is a description test
This is a description test2
;;

Summary:
This is a test
This is a second test
This is a third test

Date		Modified by
----------------------------------
12/21/2018	Tony P.
;;

Keywords: data, data1
;;


Or it could be:

Description: This is a description test
This is a description test2
;;

Summary: This is a test
This is a second test
This is a third test

Date		Modified by
----------------------------------
12/21/2018	Tony P.
;;

Keywords: data, data1
;;

 

Link to comment
Share on other sites

×
×
  • Create New...