Regular Expressions 101

Sponsors

Library entries

0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 3 months ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 3 months ago
0
java

Verify email

Regex for email
Submitted by anonymous - 2 months ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 2 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 2 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