I need help with validating a simple e-mail address, like basic pretty much. In the end after the . it should only contain either 2 or 3 characters or it gives the user an invalid message, however mine isn't recognizing that.
Pattern chckEmail = Pattern.compile("([a-zA-Z0-9]+|[a-zA-Z0-9]+\\.[a-zA-Z0-9]+)*@[a-zA-Z]+(\\.[a-zA-Z]{2,3})");