title: Trouble with regular expression catching strings that begins and ends with alpha character and contains dash
body: <p>I'm trying to create a regular expression that matches strings such as: </p>
  
  <p><strong>N1-112S</strong></p>
  
  <p>So far I have succeeded with the following (although I'm not really sure why it works):</p>
  
  <pre><code>item.match(/^\D.-/)
  </code></pre>
  
  <p>I'd like to further bolster the results by ensuring that the last character is A-Z as well.</p>
  
  <p>I'd appreciate some help on a good regular expression for matching this pattern. Thanks!</p>