Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Alma

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Alma
    3. Knowledge Articles
    4. How to configure the allowed characters in a user's e-mail address

    How to configure the allowed characters in a user's e-mail address

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Product: Alma

    Question

    How to add _ before @ in email?  

    Answer


    The allowed characters and formats for an e-mail address are configurable:

    1. Go to Alma > Administration > User Management Configuration > Configuration Menu > Other settings

    2. Configure the email_regex parameter to add the desired characters in the desired locations.
    For example:
    (^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s* - doesn't allow "_" before the @.

    (^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z_])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s* - does allow "_" before the @.

    Note the "_" in the allowed characters before the "@".
     

    Additional Information

    Please see more suggestions in this article: "Field Email Address must have a valid form" when updating a user". 

    There are several online resources available to aid in constructing and testing regular expressions e.g. http://www.regexr.com

     

    • An earlier suggestion seems not to be working (it is not in effect) any more:

    3. To change the number of segments, repeat the section between the "@" and the first '*' after the "@", including the '*'
    (^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z_])*@([0-9a-zA-Z][-\w]*([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s*

    This suggestion causes errors if the email is added in Alma, and can't be saved in: regexr.com

     


    • Article last edited: 14-AUG-2023
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to configure Short Loan Reminder and Overdue Block?
      • How to configure the display of allowed pickup locations in Primo for Resource Sharing
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Alma
    2. Tags
      1. Configuration
      2. contype:kba
      3. Dedicated-Direct
      4. Direct
      5. Local
      6. Resource Management - Alma
      7. User management
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved