Regular Expressions 101

Community Patterns

0

whois

PCRE (PHP <7.3)
whois find param
Submitted by anonymous - 3 months ago
0

jiggl

PCRE (PHP <7.3)
toggl track to jira
Submitted by anonymous - 4 months ago
0

latlonlatlon

PCRE (PHP <7.3)
gg
Submitted by anonymous - 4 months ago
1

ENEL T5 Mono

PCRE (PHP <7.3)
T
Submitted by anonymous - 5 months ago
0

i++ in bash

PCRE (PHP <7.3)
asdf
Submitted by anonymous - 5 months ago

how I retrieve the domain without www or other cruft

0

Regular Expression
Python

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

Description

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