Regular Expressions 101

Community Patterns

1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - a month ago
1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 2 months ago
1

Match each tag

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

Funny Discord Thing

.NET (C#)
Submitted by Deniz-seckin55 - 3 months ago

extract subdomain(if available) or domain from URL

7

Regular Expression
Python

r"
^(http://|https://|http://www\.|https://www\.|www\.)?(www\.(twanda))?(([\w\-]+)?\.?(twanda|))(\.ch|\.com)(:\d+)?/.+$
"
igm

Description

Loading markdown...
Submitted by trevi@twanda.com - 8 years ago