Regular Expressions 101

Community Patterns

8 digits

0

Regular Expression
PCRE (PHP <7.3)

/
\.\d[0-9]{0,8}
/
g

Description

Finds 8 digits in text preceded by a period

Submitted by anonymous - 2 years ago