Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

964.Random word generator -- How to extract 3 lines from each file randomly?

User: editor -- 2012-06-28          << 963  965 >>
Hits: 1979
Type: Random word generator   
Search all Random word generator examples
How to extract 3 lines from each file randomly? There are many text file, each one has a lot of lines, how to randomly extract 3 lines from each file and write to a new output file?
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 text files to "Batch Runner" window
3. click "Fast Replace" button open "Fast Replace" dialogue
4. click "Add" to add new rule:
* set "search" to blank
* set "replace" to:

* click "ok"
5. make sure "reg exp" and "cross line" are checked.
6. click "start" button, and click "output to single file" button, and select an output file, done.

Screenshot 1:  Fast_Replace_Window

Similar Examples:
How to extract half of lines from a text file randomly? (84%)
How to sort all the lines of a text file randomly? (75%)
How to sort all the numbers in each line randomly? (72%)
How to extract 5 unique lines from a text file with 30 lines? (64%)
Need to extract all links from html file (64%)
How to take part of the first line and insert them in text file randomly? (63%)
How to extract last 100 lines from multiple files? (63%)
How to extract all image links from a html file? (63%)

Check Demo of Random word generator
unique  randomly  random word generator  random word gen  write  word generator  ord generator  random word  random wor  random wo  write text to multiple blank files  multiple lines text generator  single line text generator  cross line text generator  new text generator  write lines  randomly select  multiple line text generator