Regular Expressions 101

Community Patterns

-3

hjghj

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

cake

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

mail

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

regex help

PCRE (PHP <7.3)
help please. i need regex,
Submitted by James - 10 years ago
-3

mama

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years 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 - 5 months ago