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

Remove common numeric suffixes (eg: 40m, 60%)

4

Regular Expression
PCRE (PHP <7.3)

/
\b([\d\.]+)[mkb%](?!\S)
/
ig

Description

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