title: Extract code country from phone number [libphonenumber]
body: <p>I have a string like this : +33123456789 (french phone number). I want to extract the country code (+33) without knowing the country. For example, it should work if i have another phone from another country. I use the google library <a href="https://code.google.com/p/libphonenumber/" rel="noreferrer">https://code.google.com/p/libphonenumber/</a>.</p>
  
  <p>If I know the country, it is cool I can find the country code :</p>
  
  <pre><code>PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
  int countryCode = phoneUtil.getCountryCodeForRegion(locale.getCountry());
  </code></pre>
  
  <p>but I don't find a way to parse a string without to know the country.</p>