Regular Expressions 101

Library entries

0
pcre2

Match CSS Gradients

Match CSS Gradients
Submitted by Sean Dellis - 8 months ago
0
pcre2

add _&_ between numbers

adds (space)&(space) between numbers
Submitted by _ - 8 months ago
0
pcre2

iCAL v3

iCAL
Submitted by Appenjel - 8 months ago
0
pcre2

GF API Scan

using gf I wan to scan apis better
Submitted by Chase Jensen - 8 months ago
0
pcre2

Syslog

Grouping for standard ubuntu server syslog messages.
Submitted by Jason King - 8 months ago
0
pcre2

CmdLineRaw

CmdLineRaw
Submitted by anonymous - 8 months ago
0
pcre2

Replace 2 or more whitespace

Replace 2 or more whitespace
Submitted by blacksmithop - 8 months ago
0
pcre2

fsda

asdfadfa
Submitted by anonymous - 8 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 8 months ago

full url dissection

Vote

1

Regular Expression
pcre2

/
(?<url>(?:(?<scheme>[a-zA-Z]+:\/\/)?(?<hostname>(?:[-a-zA-Z0--ÖØ-öø-ÿ@%_\+~#=]{1,256}\.){1,256}(?:[-a-zA-Z0--ÖØ-öø-ÿ@%_\+~#=]{1,256})))(?::(?<port>[[:digit:]]+))?(?<path>(?:\/[-a-zA-Z0-9!$&'()*+,\\\/:;=@\[\]._~%]*)*)(?<query>(?:(?:\#|\?)[-a-zA-Z0-9!$&'()*+,\\\/:;=@\[\]._~]*)*))
/
gi

Description

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