Regular Expressions 101

Community Patterns

1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - 4 months ago
1

Kafka loki parser

Golang
Kafka loki parser
Submitted by anonymous - 4 months ago
1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 4 months ago
1

Match each tag

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

Valid HTTP url

0

Regular Expression
Python

r"
^(?P<scheme>http(?:s)?:\/\/)?(?P<www>www\d?\.)?(?P<domain>\b(?!www\d?\.)[a-z\d\-]+(?:\.[a-z\d\-]{2,})+)(?P<port>:\d{1,5})?(?P<path>\/(?:[-a-zA-Z0-9._~!$&\'()*+,;=:@]|%[0-9a-fA-F]{2})*)*(?P<query_fragm>[?#&][\/\_\-\&\%\?\#\+\=\.:a-zA-Z\d]*)*$
"
gm

Description

Loading markdown...
Submitted by anonymous - 9 months ago
(Last modified 9 months ago)