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
Parse Roco url for information
Open Workspace
Python
Match
Created 2023-03-22 14:51
0
Regular Expression
r"
https://www
\.
roco
\.
cc/rde/
(
produkte/
(
[
A
-
z
]
*
)
|
home-neuheiten
)
/
(
[
A
-
z
]
*
)
/
*
(
[
0
-
9
]
{5,}
)
-
(
[
A
-
z
]
*
)
-
(?P<baureihe>
el
|
e
|
cc
|
litra-eb
|
s
|
br
|
tkt
|
rh
)*(?P<number>
[
e%0
-
9
\-
]
*
)
-
(
[
a
-
z
\-
]
*
)
.
html
"
g
Description
Parses a url on the roco.cc site to its informative parts
Submitted by
Dirkjan Krijnders