Regular Expressions 101

Community Patterns

1

html <Title>

Java 8
htnle
Submitted by erichologist - 7 months ago
1...34567...293

matrix.to URL regex

0

Regular Expression
Python

r"
(http(s)?://)?matrix\.to/#/(?P<room_id>[^/]+)(/(?P<event_id>[^/?&#]+))?(?P<qs>([&?](via=[^&]+))*)?
"
gm

Description

Loading markdown...
Submitted by anonymous - 7 months ago