Important Release Security fixes for EasySocial 3.2.5 is now available 🚨Update Now!!

Helpdesk

Username Regex List

Hi,

I hope we can start share a collection of some regex for username here;

----------------------------------------------------------------

From: Title

Descriptions: Accept only alphanumeric values and hyphen, underscore or period (-/_/.). Start from alphanumeric character not a hyphen or underscore.

^[a-z][-_a-z0-9]*$
-----------------------------------------------------------------

Descriptions: It verifies that: - Only letters, numbers and period,hyphen & underscore are allowed - No two different symbols may follow each other - Cannot begin or end with a symbol,hyphen, underscore or dot.

Problem: No character limitation.

^((([A-Za-z0-9]+_)|([A-Za-z0-9]+\-)|([A-Za-z0-9]+\.))*([A-Za-z0-9])){5,15}$
-------------------------------------------------------------------


Hope u guys can add more options, thanks ;)

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Your time
Stack Ideas HQ
Support is
Offline

It is currently a weekend from where we are at. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!

Subscribe for product updates & promotions