| User: editor -- 2011-04-12 << 762 764 >> |
| Hits: 520 |
| Type: Random word generator |
| Search all Random word generator examples |
| Description: |
| How to extract 5 unique lines from a text file with 30 lines? |
| Input Sample: |
| This is line 1 This is line 2 This is line 3 This is line 4 This is line 5 This is line 6 This is line 7 This is line 8 This is line 9 This is line 10 This is line 11 ... This is line 28 This is line 29 This is line 30 |
| Output Sample: |
| This is line 10 This is line 17 This is line 20 This is line 22 This is line 21 |
| 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. 4. ctrl-s save to file. |
Screenshot 1: Replace_Window |
Similar Examples: |
| How to extract half of lines from a text file randomly? (71%) How to batch extract specified lines from a text file? (68%) How to extract the 7th column from text files with 8 columns? (67%) How to extract unique ip addresses from multiple text/html files? (66%) How to extract all telephone numbers from a text file? (66%) How to extract all image links from a html file? (66%) How to extract all lines with numbers from many text files? (65%) How to sort the lines in a text files by the order of line length? (65%) |
Check Demo of Random word generator |
| Keywords: |
| unique lines unique random word generator word generator random word random wor random wo ord generator random rando extract unique 5 word generator text generator 5 lines unique text generator text generator unique unique word generator extract lines from word save lines from text file |