Regular Expressions 101

Community Patterns

0

Search Engine Marketing

PCRE2 (PHP >=7.3)
Yurrr
Submitted by anonymous - 2 years ago
0

C######

PCRE2 (PHP >=7.3)
get C with numbers string
Submitted by Didier - 2 years ago
0

All

PCRE2 (PHP >=7.3)
all
Submitted by anonymous - 2 years ago
0

url-selection

PCRE2 (PHP >=7.3)
url-selection
Submitted by anonymous - 2 years ago
0

FindQuoteDiv

PCRE2 (PHP >=7.3)
FindQuoteDiv
Submitted by anonymous - 2 years ago

Extract URL parts only named capturing groups

3

Regular Expression
Golang

`
^(?P<scheme>[^:\/?#]+):(?:\/\/)?(?:(?:(?P<login>[^:]+)(?::(?P<password>[^@]+)?)?@)?(?P<host>[^@\/?#:]*)(?::(?P<port>\d+)?)?)?(?P<path>[^?#]*)(?:\?(?P<query>[^#]*))?(?:#(?P<fragment>.*))?
`
gm

Description

Loading markdown...
Submitted by dixanms - 2 years ago