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.

1
Count or find text in each line

→ 3 lines

Text

Pattern (regular expression)

Match capital letters exactly

Give

Show

Your text

3 lines

Result

3 lines

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.

All free tools

Your text stays on this computer
The list editor works on your computer. The text you paste or open is not uploaded or stored by HeyScraper, and closing the page clears it. Saved recipes are kept in this browser only.

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