Regular Expressions 101

Sponsors

Library entries

0
java

时间

时间
Submitted by 旧信 - 5 days ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 15 days ago
0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 17 days ago
0
java

phone number matcher

phone number matcher
Submitted by anonymous - a month ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 2 months ago
0
java

#结尾的电话匹配

#结尾的电话匹配
Submitted by anonymous - 2 months ago
0
java

IP Address

IP Address RegEx
Submitted by anonymous - 2 months ago
0
java

括号匹配

(\[]\])|(【】)|(())|(\(\))
Submitted by nasion - 2 months ago
0
java

DB

DB
Submitted by DB - 2 months ago
0
java

OS正则表达式

zzx
Submitted by zzx - 2 months ago

how I retrieve the domain without www or other cruft

Vote

0

Regular Expression
python

"
(?P<schema>.*://)?(?P<cedentials>.*@)?(?P<www>www\.)?(?P<domain>[\w\.]+)(?P<path_query>/?.*)?
"
g

Description

Loading markdown...
Submitted by bronsen - 8 years ago