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
Validate alphanumeric and numeric range
Open Workspace
PCRE (Legacy)
Match
Created 2014-09-22 09:13
1
Regular Expression
/
^
[
A
-
Z0
-
9
]
+
(?:
-
[
A
-
Z0
-
9
]
+
)?(?:
,
[
A
-
Z0
-
9
]
+
(?:
-
[
A
-
Z0
-
9
]
+
)?
)*
$
/
gm
Description
For Validating alphanumeric and numeric range
Submitted by
Anonymous