Regular Expressions 101

Community Patterns

0

group2

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago
0

group3

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago
0

badword

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

URL supporting ports, GET params and js routing

1

Regular Expression
PCRE (PHP <7.3)

/
^(http(s)?:\/\/)(([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0-9]*)?)(\/?|((\/(#?[a-zA-Z_\-\.])+)*)(\/?|\?([a-z]+\=([a-z]+|[a-z]+,[a-z]+)*&)*([a-z]+\=([a-z]+|[a-z]+,[a-z]+)*)\/?))$
/

Description

Loading markdown...
Submitted by Rafał Rowiński - 9 years ago