fixed regex for number validation