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

url and path match with or without http|https

0

Regular Expression
PCRE (PHP <7.3)

/
^(https?:\/\/)?([\da-z-]+\.)+([a-z]{2,6})?(\/([a-z0-9+\$_-]\.?)+)*\/?$
/

Description

Loading markdown...
Submitted by Gehad Mohamed - 8 years ago