Regular Expressions 101

Library entries

extract subdomain(if available) or domain from URL

Vote

5

Regular Expression
python

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

Description

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