Regular Expressions 101

Community Patterns

1

example

Python
group matching
Submitted by anonymous - 10 years ago
1

Path to devices

Python
no description available
Submitted by Airam - 10 years ago
7

CSS Import

Python
no description available
Submitted by anonymous - 10 years ago
1

IPv4 extraction

Python
no description available
Submitted by Jacob - 10 years 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 - 10 years ago