title: Python get position of string and the next X lines
body: <p>There's a lot of questions like this but they're all dealing with files. I'm just dealing with a string:</p>
  <pre><code>&quot;&quot;&quot;
  Your username is: 
  joe
  normal
  &quot;&quot;&quot;
  </code></pre>
  <p>I need to find the position of &quot;Your username is: &quot; and then grab the next 2 lines after it. There isn't a file.txt to work with.</p>