title: How do I remove everything beyond the second occurrence of a character using Regex?
body: <p>I have a list that is something like:</p>
  
  <pre><code>xxxxx|xxxxxx|xxxxx@example.com
  xxxxx|xxxxxx|xxxxx@example.com
  xxxxx|xxxxxx|xxxxx@example.com
  </code></pre>
  
  <p>The x's can be both letters and numbers, but nothing else.</p>
  
  <p>What I am trying to do is replace everything (including the character) to the right of the second <code>|</code>. The outcome should look like:</p>
  
  <pre><code>xxxxx|xxxxx
  </code></pre>
  
  <p>I want to do it with regex so that I can replace all the occurrences in Notepad++.</p>