title: Format Number with Leading Zeros, Hyphen and Limit
body: <p>I'd like to format given string with following rules;</p>
  
  <ul>
  <li>Get only digits out of it</li>
  <li>Get them in 4 digit groups</li>
  <li>Each group must lead with 0's</li>
  <li>There must be 3 groups.</li>
  </ul>
  
  <p>Given : <code>1234</code> Expected Result: <code>0000-0000-1234</code></p>
  
  <p>Given : <code>123</code> Expected Result: <code>0000-0000-0123</code></p>
  
  <p>Given : <code>12345</code> Expected Result: <code>0000-0001-2345</code></p>
  
  <p>Given : <code>123456789012345</code> Expected Result: <code>1234-5678-9012</code></p>
  
  <p>Is there anyway to achieve this without getting into creating a method / function for it? Such as with regex and / or using <code>sprintf</code>?</p>