title: Javascript regular expression match on string followed by number?
body: <p>I have a string of the format: <code>string:num</code> where num is any number but string is a known string that I need to match on.  I'd like to have this in an if statement as:</p>
  
  <pre><code>if( it matches 'string:' followed by a number) {
     //do something
  }
  </code></pre>