You can add a regular expression to the attribute name(email) to extract the username for the user.
Follow the below steps to add a regular expression to the username.
- Navigate to User profile tab in the plugin.
- Select Apply regular expression on the username field.
- Add a regular expression (eg: ^.*?(?=@) ) in the Regular expression text field.
- Save settings.
For example, you can use regular expression ^.*?(?=@) to extract demo from username demo@example.com