Regular Expressions 101

Community Patterns

4

import url image

Python
import url image
Submitted by bartimeys - 8 years ago
4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 2 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 2 years ago

Credit Card Validation - MasterCard, Visa, Amex, Discover

4

Regular Expression
PCRE (PHP <7.3)

/
(^5[1-5]|^4|^3[47])|(^6011|65|64[4-9]|622(1(2[6-9]|[3-9]\d)|[2-8]\d{2}|9([01]\d|2[0-5])))\d+
/
g

Description

Loading markdown...
Submitted by Eric Foster - 7 years ago