title: How to remove everything after a certain character? (notepad++)
body: <p>I need to remove everything after a certain character. 
  For example in the following line:</p>
  
  <pre><code>email:pass | text | text | text | text
  </code></pre>
  
  <p>How would I remove everything past the <code>"pass"</code> so it ends up like this :</p>
  
  <pre><code>email:pass
  </code></pre>
  
  <p>Thank you in advance!</p>