Use '\A' and '\z' to validate user input