title: Regex pattern - matching capital letters with combination of numbers and a hyphen
body: <p>I need help using regular expression. I have some strings with these possibility use cases. The string will always start with a capital letters followed by 3 numbers then with a hyphen, followed by numbers:</p>
  
  <pre class="lang-none prettyprint-override"><code>A012-123
  B001-012
  C023-456
  </code></pre>
  
  <p>I've tried: <code>[A-Z0-9]-[0-9]</code> and i can't get a match. Can someone show me how to construct this correctly? </p>