Skip to main content
Ex Libris Knowledge Center

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

  • Article Type: General
  • Product: Alma
  • Relevant for Installation Type: Dedicated-Direct; Direct; Local;

Desired Outcome: Add _ before @ in email; add third section after @


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 "@".

3. To change the number of segments, repeat the section between the "@" and the first '*' after the "@", including the '*'


Additional Information


*41676 - How are email address and phone number validation settings configured
*Contact support for assistance with creating regular expressions.
*There are several online resources available to aid in constructing and testing regular expressions e.g.

Category: User Management

Subject: Configuration

  • Article last edited: 6/20/2014