Get how many times a given pattern are matched in vim
65775
Show Count of Matches in Vim
5672
How to find nth occurrence of character in a string?
87209
How to stop the find command after second match?
50383
How can I search for a multiline pattern in a file?
26104
How do you count the number of occurrences of a certain substring in a SQL varchar?
62998
How to match multiple copies of a value?
142565
How to replace only the Nth occurrence of a pattern in a file?
112581
Replacing pattern after nth match is found on each line?
92243
Repeat command n times?
64574
Match at every second occurrence
1540
Count the number of occurrences of a character in a string in Javascript
29509
What is the easiest way to swap occurrences of two strings in Vim?
127356
Using Count to find the number of occurrences
173
Multiline pattern match using sed, awk or grep
151275
grep. Find multiple AND patterns in any order using single condition
48678
String count with overlapping occurrences
16787
How to select first occurrence between two patterns including them