>_ IzzyLab

Topic breakdown

Filtering whole lines by a condition is grep -E without -o (you need lines, not fragments). The condition "a line starts with an uppercase letter" is expressed by the combination of the start-of-line anchor ^ and the class of uppercase letters right after it: without the anchor an uppercase letter in the middle of the line would also produce a false match.

What's checked

  1. Lines starting with a capital selected
  2. Lowercase filtered out

What it looks like