title: How to select (remove) every 6th (Nth) line in a text file?
body: <p>I need to reformat a log file of similar format and have been using Notepad++ macros.</p>
  
  <p>Example:</p>
  
  <pre><code>[00:55:48] Profile Information:
  
  [00:55:48] Name: Joe Bloggs
  
  [00:55:48] Age: 21
  
  [00:55:48] Profile Information:
  
  [00:55:48] Name: Joe Bloggs 2
  
  [00:55:48] Age: 22
  </code></pre>
  
  <p>I need the format to be:</p>
  
  <pre><code>Joe Bloggs
  21
  Joe Bloggs 2
  22
  </code></pre>
  
  <p>I can do this with the following operations in a macro but that only gets me so far.</p>
  
  <p>Remove timestamps
  [[^[]]*] </p>
  
  <p>Remove empty lines
  Edit > Line Operations > Remove Empty Lines</p>
  
  <p>Replace following with nothing
  Name: 
  Age: </p>
  
  <p>Then I would need to select every say, 2nd line and remove everything else so I am left with a list of every second line - something like:</p>
  
  <pre><code>21
  22
  </code></pre>
  
  <p>Hoping someone more familiar with Regex and such can chime in with pointers and advice. </p>