title: Extracting numbers from very long string into vector
body: <p>I have the fairly long string shown below (~50k characters)</p>
  
  <p><a href="https://gist.github.com/anonymous/9de31de2e6fc9888f3debeda4698b739" rel="nofollow">https://gist.github.com/anonymous/9de31de2e6fc9888f3debeda4698b739</a></p>
  
  <p>I want to extract numbers (always 1 or 2 digit), that are always between "'>" and "&lt;" and add them to a vector (must be in the correct order).</p>
  
  <p>for example: </p>
  
  <pre><code>&gt;&lt;td class='td-val ball-8'&gt;13&lt;/td&gt;&lt;td class='td-val ball-8'&gt;9&lt;/td&gt;
  </code></pre>
  
  <p>Would output a vector, [13,9]</p>
  
  <p>I couldn't even get it to let me enter my string into r, when I tried to do it in the form.</p>
  
  <pre><code>mystring &lt;- "text here"
  </code></pre>
  
  <p>When I would try to press enter then, it would just have a + next to the command line.  So I think some of the symbols in the text were messing it up.</p>