Regular Expressions 101

Community Patterns

1

Get src in img

PCRE (PHP <7.3)
Get src in img
Submitted by Andy - 8 years ago
11

Codice fiscale

PCRE (PHP <7.3)
Check "codice fiscale"
Submitted by Luca - 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