title: What's the "ruby way" to parse a string for a single key/value?
body: <p>I am trying to parse a multi line string and get the rest of the line following a pattern.</p>
  
  <p>text:</p>
  
  <pre>
  hello john
  your username is: jj
  thanks for signing up
  </pre>
  
  <p>I want to extract jj, aka everything after "your username is: "</p>
  
  <p>One way:</p>
  
  <pre><code>text = "hello john\nyour username is: jj\nthanks for signing up\n"
  match = text[/your username is: (.*)/]
  value = $1
  </code></pre>
  
  <p>But this reminds me of perl... and doesn't "read" as naturally as I am told ruby should.</p>
  
  <p>Is there a cleaner way? AKA A "ruby" way?</p>
  
  <p>Thanks</p>