Regular Expressions 101

Community Patterns

0

Time in hh:mm:ss

PCRE (PHP <7.3)
19h32min16s
Submitted by anonymous - 2 years ago
0

find between

PCRE (PHP <7.3)
find between
Submitted by anonymous - 2 years ago

Match Gmail Email

14

Regular Expression
Recommended
PCRE (PHP <7.3)

/
^[a-z0-9]+(?!.*(?:\+{2,}|\-{2,}|\.{2,}))(?:[\.+\-]{0,1}[a-z0-9])*@gmail\.com$
/
gmi

Description

Loading markdown...
Submitted by Óscar Enríquez - 9 years ago