Imagine that you are working on an application that involves creating users. User data such as first name, email, and date of birth will be primarily included in a request. A user mistakenly enters a number value in the username field where numeric values are not desirable or enter an…