Devam Ediyor

500363 CSV Find and Replace Application / Script

I need an application that will parse a CSV file and do text replacement based on specified criteria. Here's roughly what it should be able to do:

1) Upload a CSV file

2) Define text to search for

3) Define text that should replace 2) above

4) Set which field number in the CSV record should be searched

5) Set to replace only the first instance of the text per record or all

6) Flag all EMPTY records, with zero hits, where there is no match

7) Repeat the search and replace with new text strings on the EMPTY records only

8) When done, generate a new CSV file

A little more information about:

Item 4 above - If for example the CSV file has 50 records, consisting of 5 comma delimited fields each, I'd like to be able to specify that the script should only search field #2 for example and ignore all other fields in the record.

Item 5 above - If the keyword string appears more than once in the specified field, I may want to replace only the first occurrence in each record with the replacement text.

Item 6 above - The goal is to continue processing the CSV file until there are zero records which has not had some form of replacement done. Each record and the associated field will have to be processed at some time, but only once. Once it has been successfully processed and some of the text relaced the record has to be skipped for the next processing run till all are done.


I like hosted apps so if this can be done with PhP, great. That being said, I don't mind if this is a desktop app either. Let me know if your bid how you plan to approach this and what technology you plan to use.

Beceriler: Her şey Kabul, PHP, Kabuk Betiği

Daha fazlasını görün: what is a search string, what is an apps script, text string search, string processing in c, string match, string find c, match string, keyword find, how do you find an app, goal zero, find set, find it application, find in set, app script form, example shell script, shell script or, replace, parse a string, Apps Script, app approach, php replacement, php upload file csv, shell script csv, csv form, string find

İşveren Hakkında:
( 6 değerlendirme ) Somerset West, South Africa

Proje NO: #2246284



Hello Sangiro I believe that Excel is the perfect app to accompish the processing you require; Excel has excellent text-manipulation functions, a familiar UI and low-lag for developers; you could have your solution Daha fazlası

2 gün içinde 60$ USD
(34 Değerlendirme)