Regular Expressions 101

Community Patterns

1...34567...11

Match serial number with word

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\b(#?\s*#?[\d]{1,2}\s*[\.\-\s,_):]?\s*|\r\n)\b
/
gi

Description

no description available

Submitted by anonymous - 3 years ago