title: Split string with defined and undefined character
body: <p>I have a text file which looks like</p>
  <pre><code>text='\n&gt; lefortoff\n&gt; donna_marta\n&gt; agizatullina\n&gt; shshifter\n&lt; bagira\n&lt; recoder'
  </code></pre>
  <p>and I would like to split it by every <code>\n</code> but also skipping <code>&gt;</code> and <code>&lt;</code> and spaces after them.</p>
  <p>I'm doing it via this code</p>
  <pre><code>names = text.split('\n&gt; ')
  last_names = names[-1].split('\n&lt; ')
  names = names[1:-1]
  names.extend(last_names)
  </code></pre>
  <p>but wonder if there is simpler way of doing this with pseudocode like:</p>
  <pre><code>text.split('\n%s1%s2', %s1 = undefined, %s2 = undefined)
  </code></pre>
  <p>so those s1 can be <code>&gt;</code>, <code>&lt;</code> and s2 would be space <code> </code>.</p>