For example, I have a log file. The characters that match the rules in my file are yes. I want to find the number of yes characters in this abc.log file. How to find it, as follows:
:%s/yes//gn
Result: 1501307 matches on 1501307 lines
For example, I have a log file. The characters that match the rules in my file are yes. I want to find the number of yes characters in this abc.log file. How to find it, as follows:
:%s/yes//gn
Result: 1501307 matches on 1501307 lines