Regular expression for validating a number