Regular Expressions 101

Sponsors

Library entries

Match serial number with word

Vote

0

Regular Expression
pcre2

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

Description

Loading markdown...
Submitted by anonymous - a year ago