Free tool
Count word occurrences in each line
Count word occurrences in each line: how many times a word, a character or a pattern appears. It can also tell you where the first one is.
The example is loaded. Paste your own list to replace it.
→ 3 lines
Text
Pattern (regular expression)
Match capital letters exactly
Give
Show
Your text
Result
What it does
How many times a word or pattern appears in each line, or where it first appears.
Settings you can change
- Text
- Pattern (regular expression)
- Match capital letters exactly
- Give: How many times, Where it first appears (1 = first character, 0 = not found)
- Show: The number, a tab, then the line, Only the number
When to use it
Count the commas in each CSV row to find the rows with a missing value.
Example: count word occurrences
Settings used: Text: ,.
Input
Result
Often used with
One row per value with its count, most common first. Pastes into a spreadsheet as two columns.
Filter lines by a word or pattern.
Count the characters (or words) in each line.
Your text stays on this computer
Got your list from a web page?
HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.
Get HeyScraper