Add full Canadian postal code validation.
This commit is contained in:
parent
a1883c75ad
commit
87a97cb462
@ -283,7 +283,7 @@ function Contact($compile, $templateCache) {
|
|||||||
"Austria": "[0-9]{4}",
|
"Austria": "[0-9]{4}",
|
||||||
"Belgium": "[0-9]{4}",
|
"Belgium": "[0-9]{4}",
|
||||||
"Brazil": "[0-9]{5}[\\-]?[0-9]{3}",
|
"Brazil": "[0-9]{5}[\\-]?[0-9]{3}",
|
||||||
"Canada": "[A-Za-z][0-9][A-Za-z] [0-9][A-Za-z][0-9]",
|
"Canada": "^(?!.*[DFIOQU])[A-VXY][0-9][A-Z][ -]?[0-9][A-Z][0-9]$",
|
||||||
"Denmark": "[0-9]{3,4}",
|
"Denmark": "[0-9]{3,4}",
|
||||||
"Faroe Islands": "[0-9]{3,4}",
|
"Faroe Islands": "[0-9]{3,4}",
|
||||||
"Netherlands": "[1-9][0-9]{3}\\s?[a-zA-Z]{2}",
|
"Netherlands": "[1-9][0-9]{3}\\s?[a-zA-Z]{2}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user