Regular Expressions 101

Community Patterns

18

Email validation

PCRE (PHP <7.3)
no description available
Submitted by tutsplus.com - 9 years ago
23

userName

PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by gsanchezc - 9 years ago
31

ninite

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

http://

PCRE (PHP <7.3)
no description available
Submitted by Mitus M. - 10 years ago

prevent-sanitzation

1

Regular Expression
PCRE (PHP <7.3)

/
^\s*(https?|ftp|mailto|tel|file):.*(?!\.(js|html))$
/
gm

Description

Loading markdown...
Submitted by anonymous - 9 years ago