title: Determine if there are only a defined set of characters in a String
body: <p>I've got an amount in a String in which I want to check if there is anything else present than figures, dots, and commas. So if anything else than <code>[0123456789,.]</code> is present, it should return false.</p>
  
  <p>I currently check like this:</p>
  
  <pre><code>if ("495.6A,B76".matches(".*[0123456789].*")) {
  </code></pre>
  
  <p>This returns true, because the characters are indeed in the string. I just want to check if the string consists of ONLY these characters?</p>