Regular Expressions 101

Community Patterns

0

Phone number

Python
Phone number
Submitted by anonymous - a year ago
0

Email

PCRE2 (PHP >=7.3)
Email
Submitted by anonymous - a year ago
0

Network Address

PCRE (PHP <7.3)
-
Submitted by anonymous - a year ago
0

Card number

PCRE2 (PHP >=7.3)
Card number
Submitted by anonymous - a year ago

Strong Password (three of the four type)

0

Regular Expression
ECMAScript (JavaScript)

/
^(^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])|(^(?=.*[0-9])(?=.*[A-Z])(?=.*[!@#$&*]).*$)|(^(?=.*[0-9])(?=.*[a-z])(?=.*[!@#$&*]).*$)|(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$&*]).*$).*$
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago