Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-11-23 09:24
Flavor·PCRE (Legacy)

/
([a-zA-Z]{3})([UJZujz])(\d{6})(\d)
/
Open regex in editor

Description

Check ISO 6346 container number. First three chars, unit type, six digits and then one check digit.

Submitted by Symon Davis