Merge pull request #1573 from descipher/master
Add full Canadian postal code validation.
This commit is contained in:
commit
95cad2db22
@ -283,7 +283,7 @@ function Contact($compile, $templateCache) {
|
||||
"Austria": "[0-9]{4}",
|
||||
"Belgium": "[0-9]{4}",
|
||||
"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}",
|
||||
"Faroe Islands": "[0-9]{3,4}",
|
||||
"Netherlands": "[1-9][0-9]{3}\\s?[a-zA-Z]{2}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user