title: Notepad++ regex to find lines with more than n pipe-characters
body: <p>once again I have a problem with a regex in Notepad++, since I don't know a lot about it.<br>
  I have a .csv file, but I need to find all lines with n (let's say 4) or more pipe-characters.<br>
  Example of the string I have:  </p>
  
  <pre><code>6454345|User1-2ds3|62562012032|9c1fe63ccd3ab234892beaf71f022be2e06b6cd1
  3305611|User2-42g563dgsdbf|22023001345|c36dedfa12634e33ca8bc0ef4703c92b73d9c433
  8749412|User3-9|xgs|f|98906504456|411b0fdf54fe29745897288c6ad699f7be30f389
  5151540|User4-jy|n|12202310|6a54c608289f4aedfab63ca640bcd5d174fd8592
  </code></pre>
  
  <p>I need to find these strings, they have 4 or more pipe-characters:  </p>
  
  <pre><code>8749412|User3-9|xgs|f|98906504456|411b0fdf54fe29745897288c6ad699f7be30f389 
  5151540|User4-jy|n|12202310|6a54c608289f4aedfab63ca640bcd5d174fd8592 
  </code></pre>
  
  <p>I did some searches here but couldn't find exactly what I am looking for, so far I used the answers provided in these questions, besides that I didn't find anything similar:<br>
  <a href="https://stackoverflow.com/questions/3068964/find-lines-with-n-occurrences-of-a-char">Find Lines with N occurrences of a char</a><br>
  <a href="https://stackoverflow.com/questions/14464461/regular-expression-to-match-text-that-contains-n-or-more-of-specified-character">Regular expression to match text that contains n or more of specified character</a><br>
  I replaced the requested characters in a pipe-character, but that didn't work for me.</p>