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
AXIO - Parsing debug:router command
Open Workspace
PCRE2 (PHP)
Match
Created 2021-08-17 12:03
1
Regular Expression
/
\s
*
(?P<entity>
(
[
-
\w
]
*
\\
){2}(
[
-
\w
]
*
)
)(?:
\s
*
)(?P<METHOD>
(
[
A
-
Z
]
*
\|
?
)*
)
\s
*
(?P<SCHEME>
(?4)
)
\s
*
(?P<HOST>
(?4)
)
\s
*
(?P<PATH>
.
*
)
/
gm
Description
Parsing of a debug:router command output
Submitted by
Anonymous