Create ValidNumber.java

Solve the problem use regular expressions!
easy and elegant!!!