Regular Expressions 101

Community Patterns

3 digits + M

0

Regular Expression
PCRE2 (PHP >=7.3)

/
[0-9]{3}[M]
/
gm

Description

I've used this for filtering files which are bigger than 100 M and smaller than 1 GB

Submitted by anonymous - a year ago