Skip to content

Commit

Permalink
chore: Update email validation example in Main class
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jul 11, 2024
1 parent 1cac7b1 commit c07d8ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ public class Main {
}

public static void validateEmailExample() {
// IMPORTANT: validDomains can not be used with validDomainsList, you can use only one of them

// Basic email validation
boolean isValid = Validate.validateEmail("example@example.com");
System.out.println("Is valid: " + isValid); // Expected: true
Expand Down

0 comments on commit c07d8ea

Please sign in to comment.