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
255.Count and statistics -- How to count number of digits(0-9) in a text file?
User:
editor -- 2008-08-21
<< 254
256 >>
Hits:
3811
Type:
Count and statistics
Search all
Count and statistics
examples
Description:
How to count number of digits(0-9) in a text file?
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" dialog
Enter "search for pattern" like:
\d
3. click "search" button, the number of digit character found will be shown at the operation record in the middle.
Note: \d is a regular expression, match any single digit.
*** Note: Tool->Pattern Counter menu is recommended for newer version of Replace Pioneer ***
Screenshot 1: Replace_Window
Similar Examples:
How to count number of words appeared in a text file?
(75%)
How to count the number of words that start with "ea" in a text file?
(70%)
How to count the number of words that ended with "ing" in a text file?
(69%)
How to count the number of ( A )...( F ) from a text file of survey?
(69%)
How to multiply every number by 1000 in a text file?
(66%)
How to count the occurrence of a list of words in a text file?
(63%)
How to randomly deletes x number of lines from text files?
(62%)
How to count the number of Unique IP address from a web log file?
(62%)
Check Demo of
Count and statistics
Keywords:
digits
middle
record
found
pattern counter
counter
digit
dig
statistics
statist
record count
count digit in a file
file character statistics count
count number for statistics
button click count
statistics text file
digit d
match count