Regular Expressions 101

Community Patterns

-2

ex_3_b

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

Perl

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

test

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