HomeUsername Validators
Username Validators
Social media and system username constraints.
15 Tools Available
Twitter Handle
4-15 chars, alphanumeric.
/^[a-zA-Z0-9_]{4,15}$/
Alphanumeric
Letters and numbers only.
/^[a-zA-Z0-9]+$/
With Underscore
Letters, numbers, underscore.
/^[a-zA-Z0-9_]+$/
Facebook User
5+ chars, dots allowed.
/^[a-z0-9.]{5,}$/
Instagram User
30 chars max.
/^[a-zA-Z0-9._]{1,30}$/
GitHub User
No consecutive hyphens.
/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/
Slack User
Lowercase, 21 chars max.
/^[a-z0-9._-]{1,21}$/
Discord Tag
User#1234 format.
/^.{3,32}#[0-9]{4}$/
Telegram User
5-32 chars.
/^[a-zA-Z0-9_]{5,32}$/
No Special Start
Must start with letter.
/^[a-zA-Z][a-zA-Z0-9]*$/
Min Length 3
At least 3 characters.
/^.{3,}$/
Max Length 20
Max 20 characters.
/^.{0,20}$/
Lowercase Only
Lowercase and numbers.
/^[a-z0-9]+$/
Email as User
Checks for email format.
/^[^@]+@[^@]+$/
Twitch User
Matches Twitch usernames.
/^[a-zA-Z0-9][a-zA-Z0-9_]{3,24}$/