Java - seperate numbers from a string
<p>I have a string that contains a few numbers (usually a date) and separators. The separators can either be "," or "." - or example 01.05,2000.5000</p>

<p>....now i need to separate those numbers and put into an array but I'm not sure how to do that (the separating part). Also, i need to check that the string is valid - it cannot be 01.,05.</p>

<p>I'm not asking for anyone to solve the thing for me (but if someone wants i appreciated it), just point me in the right direction :)
Thanks! :)</p>
