Regular Expressions 101

Community Patterns

1

Youtube ID

PCRE (PHP <7.3)
get youtube video ID
Submitted by anonymous - 8 years ago
1

get class

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

aaaaaaaaaaa

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

gfghfgdf

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

inline img

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

Facebook url regex

-3

Regular Expression
PCRE (PHP <7.3)

/
^((?:https?\:\/\/|www\.)(?:facebook)(?:.com\/)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*?)$
/
i

Description

Loading markdown...
Submitted by Devs Devaras - 8 years ago