title: Extract phone number from String
body: <p>The other answers i found don't work for the String I have. My String looks like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>Tel.: 123 12 12 31 12\nMobil: 0173 84 44 962\nE-Mail: info@email.com
  </code></pre>
  
  <p>I would be already enough for me to get the first phone number which occurs. The text is a free text so people can actually put whatever they want, even no number at all.</p>
  
  <p>I tried this</p>
  
  <pre class="lang-java prettyprint-override"><code>    Pattern pattern = Pattern.compile("^[a-zA-Z]+([0-9]+).*");
      Matcher matcher = pattern.matcher(contactText);
      if (matcher.find()) {
          phoneLabel.setText(matcher.group(0));
      }
  </code></pre>
  
  <p>and this regex which is for german numbers</p>
  
  <p><code>^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$</code></p>