Regular Expressions 101

Community Patterns

Improved HTS matcher

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\d{4}\.\d{2}\.\d{2,4}(?=\W)
/
gm

Description

For all customs related HTS stuff, you can now put the CBP document you need here and just grab all those tasty, tasty HTS numbers with this handy formula.

Cheers!

Submitted by anonymous - 2 years ago