title: Regex match digits, comma and semicolon?
body: <p>What's a regular expression that will match a string only containing digits 0 through 9, a comma, and a semi-colon? I'm looking to use it in Java like so:</p>
  
  <pre><code>word.matches("^[1-9,;]$") //Or something like that...
  </code></pre>
  
  <p>I'm new to regular expressions.</p>