Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
778.Random word generator -- How to remove around 1/2 lines randomly from a large text files?
User:
editor -- 2011-05-11
<< 777
779 >>
Hits:
3209
Type:
Random word generator
Search all
Random word generator
examples
Description:
How to remove around 1/2 lines randomly from a large text files?
Input Sample:
line1
line2
line3
line4
line5
line6
...
Output Sample:
line2
line3
line6
...
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open the text file
2. ctrl-h open 'replace' window
* set 'replace unit' to 'Line'
* set 'if' to:
rand(2)<1
3. click 'replace', done!
4. ctrl-s save to file.
Screenshot 1: Replace_Window
Similar Examples:
How to replace or remove 3 lines randomly in a text file?
(72%)
How to remove duplicate lines from a text file?
(64%)
How to random remove x lines from a line range in text file?
(63%)
How to remove the last 3 lines of multiple text files all at once?
(63%)
How to remove partially duplicated lines in a text file?
(63%)
How to remove/delete extra blank lines in multiple text files?
(62%)
How to remove/delete all lines ending by a comma(,) in a text file?
(62%)
How to join every sequential line with a random line in a text file?
(61%)
Check Demo of
Random word generator
Keywords:
remove around
round
large text
randomly
random word generator
random word gen
word generator
ord generator
random word
random wor
remove word from text file
replace word randomly
randomly replace text file
the word generator
replace randomly
randomly replace
save lines from text file
replace word generator