Jump to content
  • 0
eusanpe

Insert Data Into Text File

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

 

Share this post


Link to post
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
;;

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...