title: How to extract a number from a string
body: <p>I am writting an application whereby to reset a password you will be sent an sms containing a reset code to confirm you as the owner of the account.. But am trying to build the app in such a way that it receives the broadcast of the received sms and get the specified integer only from the sms body.
  Sample of the sms
  <em>We noticed you want to reset your password. Password reset code is 3242., Thanks</em></p>
  
  <p>i like to get just the reset code=3242 from the whole sms body..
  Thanks. </p>