Regular Expressions 101

Community Patterns

1

just for test

PCRE2 (PHP >=7.3)
don't mind
Submitted by anonymous - a day ago
1

datime

PCRE2 (PHP >=7.3)
datetime
Submitted by anonymous - 5 days ago
1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 11 days ago

Standard URI Groups

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<protocol>[a-zA-Z-]+)\:\/\/(?:(?<credentials>[a-zA-Z0-9-_:]+)\@)?(?<hostPort>(?<host>[a-zA-Z0-9.]+)(?:\:(?<port>[0-9]+))?)(?<pathParameter>(?:\/(?<path>[a-zA-Z\/]*))?(?:\?(?<parameter>[a-zA-Z0-9=&%.]+))?)?(?:\#?(?<name>[a-zA-Z\-_0-9]+))?
/
gm

Description

Loading markdown...
Submitted by Gashbeer - 2 months ago