lechihuy

Username Regex

Regex
/^(?!\.)(?!.*\.$)(?!.*\.\.)[a-zA-Z0-9\.\_]{3,32}$/gm
Test string
4 matches
B
o
d
a
o
k
u
t
e
1
0
6
­

l
e
c
h
i
.
h
u
y
­

_
L
C
H
1
0
6
­

m
a
n
y
_
_
_
_
u
n
d
e
r
s
c
o
r
e
­

.
j
o
h
n
d
o
e
­

l
i
s
a
.
­

h
i
­

t
h
i
s
_
i
s
_
a
_
l
o
n
g
l
o
n
g
l
o
n
g
l
o
n
g
_
u
s
e
r
n
a
m
e
­

m
a
n
y
.
.
d
o
t
space
enter
tab
Information
  • Only contains a-z, A-Z, 0-9, underscore or dot characters [a-zA-Z0-9\.\_]
  • Character limit from 3 to 32 {(3, 32)}
  • The first and last character must not be a dot (?!\.)(?!.*\.$)
  • Cannot use two consecutive dots (?!.*\.\.)
© lechihuy.dev made with