Regular Expressions 101

Community Patterns

0

txt mini

Python
txt
Submitted by anonymous - 2 years ago
0

vert-cata

Python
log
Submitted by anonymous - 2 years ago
0

nsv2-general

Python
log
Submitted by anonymous - 2 years ago
0

Tok. test.1

Python
T
Submitted by anonymous - 2 years ago

extract subdomain(if available) or domain from URL

8

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