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 url data descriptor
Open Workspace
PCRE2 (PHP)
Match
Created 2022-09-16 09:20
0
Regular Expression
/
^
\?
?
[
a
-
z
]
+
(
_
[
a
-
z
]
+
)*
$|^
\?
?
(
_
[
a
-
z
]
+
){2,}(
>
[
a
-
z
]
+
)?
$
/
gm
Description
For internal purposes
Submitted by
Daniel Bañobre