Insert in the end of the second line in .csv file

Tool for Search and Replace across multiple files.
Post Reply
Luanna
Posts: 1
Joined: Sun Mar 09, 2014 10:47 am

Insert in the end of the second line in .csv file

Post by Luanna »

Hello! I'm new in TextCrawler, but I already appreciate its many advantages. Please advise me in this problem:
- I have about 3000 .csv files. About 300 of them have the name begining with 7012... .csv.
- In each of these 300 files there are 2 strings. Every string is different that's why I can't use for searching some common word from the string.
I need to add to the end of the second string in each of 300 files ( with name 7012...) this text : ",12-05-2013 00:00:0,expected".

I know how to find 300 files by the name from all 3000. Also I know how to find two strings in these files. But I don't understand how to insert my text at the end of the second string.

Please, help me!
User avatar
DigitalVolcano
Site Admin
Posts: 1729
Joined: Thu Jun 09, 2011 10:04 am

Re: Insert in the end of the second line in .csv file

Post by DigitalVolcano »

Do you mean there are two lines in each file, and you want to add your string to the end of the second line?
Post Reply