Im trying to make a user input validation system within one of my methods... its working fine to a cetain extent, but despite the code, its still allowing for integers as valid
Try something like"
if (!userName.matches(".*\\d+.*")) { System.out.println("Only strings no numbers"); }