Class EmailValidator


  • public class EmailValidator
    extends Object
    This class checks email addresses. The regular expression used to validate that the string is an email address is:
     \b^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$\b
     
    Author:
    kbrazulewicz@atlassian.com
    See Also:
    RFC 2822 section 3.4.1, http://www.regular-expressions.info/email.html
    • Method Detail

      • isValidEmailAddressFormat

        public static boolean isValidEmailAddressFormat​(String emailAddress)