Regular Expressions 101

Community Patterns

1

checkmai2

PCRE2 (PHP >=7.3)
imnt
Submitted by anonymous - 7 hours ago
1

checkmail

PCRE2 (PHP >=7.3)
intern
Submitted by anonymous - 7 hours ago
1

Xcode

PCRE2 (PHP >=7.3)
Xcode
Submitted by iulianOnofrei (U-lee-aan) - 3 days ago
1

just for test

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

datime

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

Match paths

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

Match ONLY valid URLs!

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?ni)^(https?:\/\/)?((?!-)[a-z\d-]{2,63}(?<!-)\.)+[a-z]{2,24}(\.[a-z]{2})?(\/.*)?$
/
g

Description

Loading markdown...
Submitted by Henriii102 - 3 months ago
(Last modified 3 months ago)