Regular Expressions 101

Community Patterns

0

Mpe

Java 8
coda test
Submitted by anonymous - 2 years ago
0

java-test1

Java 8
java test string
Submitted by anonymous - 2 years ago
0

chia plot

Golang
chia plot
Submitted by temple - 2 years ago
0

Remove duplicate lines in sorted text

Java 8
See
Submitted by @atnbueno - 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