Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

935.Random word generator -- How to extract half of lines from a text file randomly?

User: editor -- 2012-04-11          << 934  936 >>
Hits: 2274
Type: Random word generator   
Search all Random word generator examples
Description:
How to extract half of lines from a text file randomly?
Input Sample:
line1
line2
...
line100
Output Sample:
total extract 50 lines from 100 lines:
line1
line3
line4
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' window
* set 'replace with pattern' to:

3. click 'replace', done.

Screenshot 1:  Replace_Window


Similar Examples:
How to sort all the lines of a text file randomly? (88%)
How to extract 3 lines from each file randomly? (84%)
How to extract all IP address from a text file? (73%)
How to extract 5 unique lines from a text file with 30 lines? (71%)
How to extract all html address from a text file? (71%)
How to extract all lines with numbers from many text files? (70%)
How to take part of the first line and insert them in text file randomly? (69%)
How to extract all telephone numbers from a text file? (69%)

Check Demo of Random word generator
Keywords:
unique  randomly  random word generator  random word gen  word generator  ord generator  random word  random wor  random wo  random  half word generator  replace half of word  extract lines from word  word extract lines  replace word randomly  randomly replace text file  replace randomly  randomly replace