Regular Expressions 101

Community Patterns

1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 5 months ago
1

Match each tag

Python
Match each tag in a lrc file
Submitted by Cricar - 5 months ago
1

emoji-test.txt

Python
emoji-test.txt
Submitted by anonymous - 6 months ago
1

html <Title>

Java 8
htnle
Submitted by erichologist - 7 months 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