title: Remove all non-digit characters from a string jquery?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1862130/javascript-strip-out-non-numeric-characters-from-string">Javascript: strip out non-numeric characters from string</a>  </p>
  </blockquote>
  
  
  
  <p>String matching is headache for me.</p>
  
  <p><strong>Example:</strong></p>
  
  <p>If I have strings like these:</p>
  
  <pre><code>abc123xyz456()*
  ^%$111u222
  </code></pre>
  
  <p>Then convert it to:</p>
  
  <pre><code>123456
  111222
  </code></pre>