Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-07-18 17:02
Flavor·Python

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

Description

Regex to detect and extract detail from matrix.to

Submitted by anonymous