title: Regex: 9 integers but spaces and minus characters allowed
body: <p>I need a regex that as a minimum has 9 numbers and a maximum of 9 numbers. but these numbers can be split up with spaces or minus characters
  Here are some sample strings with true or false to show what i want: </p>
  
  <pre><code>11-222-3333 true
  11 222 3333 true
  112223333   true
  112-23-4567 true
  11223333    false
  11 22333333 false
  1122333333  false
  </code></pre>
  
  <p>I currently use this regex: <code>^[0-9\s\-]{9,11}$</code>  but it allows for more then 9 numbers if there are no spaces or minuses in the string.</p>
  
  <p>I want a minimum of 9 numbers and maximum of 9 numbers. So i need to ignore the spaces and minuses in the counting of the characters but I can't find how. Does someone know a correct way to do this?</p>