title: How to use Negative Lookahead in Regex to Delete unwanted Lines
body: <p>I need help regarding using negative lookahead. I am using Notepad++ and I want to delete all lines except the lines that contain <code>&lt;title&gt;(.*)&lt;/title&gt;</code></p>
  
  <p>I tried a couple of things but that didnt work.</p>
  
  <pre><code>^.*(?!&lt;title&gt;).*&lt;/title&gt;
  ^.*(?!&lt;title&gt;.*&lt;/title&gt;)
  </code></pre>