Title |
Test
Find
Pattern Title
|
Expression |
^[a-zA-Z]{3}[uU]{1}[0-9]{7}$ |
Description |
Standard freight container number in upper or lower case. |
Matches |
HJCU1234567 | coou9876543 |
Non-Matches |
HJCY1234567 | HJCU123456 |
Author |
Rating:
Not yet rated.
Jeremy Baynham
|
Source |
|
Your Rating |
|
Title: Freight Container Pattern
Name: David Roff
Date: 11/18/2009 10:20:46 AM
Comment:
Nice one Jeremy, just thought id add that you can have Z or J as the 4th character also, so i have used your example and added these in ^[a-zA-Z]{3}[uUjJzZ]{1}[0-9]{7}$
details of rules for freight container numbers here: http://en.wikipedia.org/wiki/ISO_6346#Check_Digit
Title: Freight Container Pattern
Name: David Roff
Date: 11/18/2009 9:40:10 AM
Comment:
Nice one Jeremy, just thought id add that you can have Z or J as the 4th character also, so i have used your example and added these in ^[a-zA-Z]{3}[uUjJzZ]{1}[0-9]{7}$
details of rules for freight container numbers here: http://en.wikipedia.org/wiki/ISO_6346#Check_Digit
Title: Freight Container Pattern
Name: David Roff
Date: 11/18/2009 9:39:54 AM
Comment:
Nice one Jeremy, just thought id add that you can have Z or J as the 4th character also, so i have used your example and added these in ^[a-zA-Z]{3}[uUjJzZ]{1}[0-9]{7}$
details of rules for freight container numbers here: http://en.wikipedia.org/wiki/ISO_6346#Check_Digit