Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
9.24.15
Open Workspace
PCRE (Legacy)
Match
Created 2015-09-24 18:50
1
Regular Expression
/
^
--start
(
1
?
[
\-\.\_
]
?
)
question
mark
makes
the
block
or
single
character
before
it
optional
(
[
0
-
9
]
{3}
)
(
-
?
)
(
[
0
-
9
]
{4}
)
$
/
Description
First Test Regex
Submitted by
Anonymous