Regular Expressions 101

Community Patterns

1

IP username

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago
1

dawdw

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago
1

match url

PCRE (PHP <7.3)
no description available
Submitted by jakub - 7 years ago
1

test

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago
1

bb-*

PCRE (PHP <7.3)
aaa
Submitted by wyj - 7 years ago

Domain

1

Regular Expression
PCRE (PHP <7.3)

/
(?<protocol>\w*)\:\/\/(?:(?:(?<thld>[\w\-]*)(?:\.))?(?<sld>[\w\-]*))\.(?<tld>\w*)(?:\:(?<port>\d*))?
/

Description

Loading markdown...
Submitted by NiRu - 8 years ago