Class EmailValidator

java.lang.Object
com.example.demo.registration.EmailValidator
All Implemented Interfaces:
Predicate<String>

@Service public class EmailValidator extends Object implements Predicate<String>
Service class that implements the Predicate interface to validate the format of an email address.

This validator uses a regular expression to check if the input string adheres to a basic, common email format structure.