Regular Expressions 101

Community Patterns

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

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)