Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\b\d{12,22}\b
/
gm

Description

This regular expression can be used to extract 12 to 22 digit fedex numbers from a string.

Submitted by anonymous - 6 months ago