Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

924.Replace text in multiple files -- How to find out the maximum value in each line for multiple csv file?

User: editor -- 2012-02-27          << 923  925 >>
Hits: 2344
Type: Replace text in multiple files   
Search all Replace text in multiple files examples
Description:
How to find out the maximum value in each line of csv file and generate a new column? How to do it for multiple csv files?
Input Sample:
1,3,8,9
4,2,6,5
4,4,2,2
Output Sample:
1,3,8,9,9
4,2,6,5,6
4,4,2,2,4
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu
2. drag multiple csv files from "windows file browser" to "batch runner" window
3. click "fast replace" to open "fast replace" window
4. click "add" to add new rules
* set "search" to:

* set "replace" to:

* click "ok"
5. make sure "reg exp" option is checked, and click "start", done.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to remove first number in each line for multiple files? (69%)
How to calculate the minimum and maximum value in each line of text? (66%)
How to calculate md5 hex value of each line of text file? (65%)
How to find the maximum number in each line that contains 3 numbers? (65%)
How to remove leading spaces and tabs in each line in multiple text files? (61%)
How to extract and remove common lines from multiple files? (60%)
How to import a list of rules to replace multiple files? (57%)
How to calculate the maximum value of the first n lines? (57%)

Check Demo of Replace text in multiple files
Keywords:
chm  find out the max  maximum  max  csv files  rules  find  new column  csv  generate  find replace add column  windows batch csv find replace  csv find replace column  batch find column in text file  text find replace in csv file  csv file batch find and replace  find and replace maximum  find replace text multiple csv files