title: How can I except a line with grep?
body: <p>sorry for my beginner question: I want to grep links in a .md-file except a special line, which beginns with a special word.</p>
  
  <p>So my index.md looks like:</p>
  
  <pre><code>[Test](202001-test)
  BlaBla: [Test2]((202002-test2)
  </code></pre>
  
  <p>My code looks like:</p>
  
  <pre><code>grep -Eo '\[.*\]\([2].*\)' ~/script/index.md
  </code></pre>
  
  <p>So what should I write, that grep ignore the second line? Found no answer on the regular expression websites.</p>
  
  <p>Greetings</p>