|User: editor -- 2010-08-15 << 588 590 >>|
|Type: Count and statistics|
|Search all Count and statistics examples|
|How to count the number of english words that has specified number of chars? |
There is an article with english words, how to count how many words has exactly 4 characters?
|This is line1 |
This is line2
|there are 2 words that has 4 character|
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|1. ctrl-o open source text file |
2. open "Tools->Pattern Counter" menu
* click "Clear" button to clear current pattern
* click "Add" button,
enter in "Name" field:
enter in "Pattern" field:
* click "OK" button
* select option of "Regular Expression"
3. click "Count", you can get the total number of 4 letter words.
Screenshot 1: Pattern_Counter_Window