Regular Expressions 101

Community Patterns

1

XC410

PCRE2 (PHP >=7.3)
QS
Submitted by anonymous - 21 days ago
1

check csv content

PCRE2 (PHP >=7.3)
a
Submitted by abc - 22 days ago

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