Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Validating e-mail addresses with underscores

    • Product: Alma

    Description

    Some of our users have e-mail addresses where you have a hyphen or an underscore directly before the @ character. (Example: john.doe_@mail.org)

    These addresses are not accepted. We get an error message "Field Email Address must have a valid form does not match the regex defined in email_regex".

    Resolution

    Go to Configuration > User Management > Other Settings > email_regex

    The out-of-the-box entry is:


    (^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s*


    Please replace with:


    (^([0-9a-zA-Z](['-.\w]*[0-9a-zA-Z][-\w])*@([0-9a-zA-Z][-.\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s*

     

     


    • Article last edited: 19-Feb-2021
    • Was this article helpful?