title: C# Regex match on special characters
body: <p>I know this stuff has been talked about a lot, but I'm having a problem trying to match the following... </p>
  
  <p>Example input:  "test test 310-315"</p>
  
  <p>I need a regex expression that recognizes a number followed by a dash, and returns 310.  How do I include the dash in the regex expression though.  So the final match result would be: "310". </p>
  
  <p>Thanks a lot - kcross</p>
  
  <p>EDIT: Also, how would I do the same thing but with the dash preceding, <em>but</em> also take into account that the number following the dash could be a negative number... didnt think of this one when I wrote the question immediately.  for example: "test test 310--315" returns -315 and "test 310-315" returns 315.</p>