Regular Expressions 101

Sponsors

Library entries

1
golang

lsblk-output-regex

Trying to adapt this regex to support LVM.
Submitted by anonymous - a year ago
1
golang

SQL comments Big Query

SQL comments on Big Query
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - a year ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 10 months ago
1
golang

1

11
Submitted by anonymous - 3 months ago

Extract URL parts only named capturing groups

Vote

2

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 - 10 months ago