title: Simple Regular Expression pattern, extract numbers
body: <p>I'd like to extract the number(s) from in between the square brackets in a string like this:</p>
  
  <pre><code>"Item5Line[14].Id"
  </code></pre>
  
  <p>What I have so far causes an error in Javascript:</p>
  
  <pre><code>index = Id.attr('name').match(/\[\d\d?\d?\]);
  </code></pre>
  
  <p>I'm very new to regular expressions, so please be gentle :)</p>
  
  <p>Thanks in advance!</p>