Regular Expressions 101

Sponsors

Library entries

0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 4 months ago
0
golang

chia plot

chia plot
Submitted by temple - 4 months ago
0
pcre2

xrandr device line

Device line of xrandr output
Submitted by anonymous - 4 months ago
0
pcre2

GMT Timezone

GMT Time zone regex
Submitted by Ashish Ambre - 3 months ago
0
pcre2

Matching a decimal numbers

Matching a decimal numbers
Submitted by anonymous - 3 months ago
0
pcre2

find spaces around - & + signs

find spaces around - & + signs
Submitted by anonymous - 3 months ago

url match

Vote

0

Regular Expression
golang

`
(?P<origin>(?P<protocol>http[s]?:)?\/\/(?P<host>[a-z0-9A-Z-_.]+))(?P<port>:\d+)?(?P<path>[\/a-zA-Z0-9-\.]+)?(?P<search>\?[^#\n]+)?(?P<hash>#.*)?
`
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago