Regular Expressions 101

Sponsors

Library entries

1
python

URL parser

gets the ://:/ from am url
Submitted by anonymous - 7 years ago
2
pcre

PL Phone number

PL Phone number
Submitted by Dawid - 7 years ago
1
python

Find exeptions in log4j

regex to consider exceptions in log4j
Submitted by anonymous - 7 years ago
1
pcre

youtube parser

no description available
Submitted by anonymous - 7 years ago
1
pcre

Extrae episodios

Extrae episodeos de una pagina de series flv
Submitted by Aldo Lopez - 7 years ago
1
pcre

获取discuz引用回复用户名

no description available
Submitted by Paul Wang - 7 years ago
0
pcre

1

1
Submitted by 1 - 7 years 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