Regular expressions for validation moved to Validator.