title: Get only numbers from the string in android
body: <p>I have this string on <code>getSelectedItem()</code> of spinner I want just mobile number but it displaying with the name.</p>
  
  <pre><code>Spinner spinnerthree = (Spinner) findViewById(R.id.spinner3);
  String num=(String) spinnerthree.getSelectedItem();
  </code></pre>
  
  <p>return result is:</p>
  
  <blockquote>
    <p>return num=01111111111(abc)</p>
  </blockquote>