开发者

Anyone got a regex for all known international postcode/zipcodes?

开发者 https://www.devze.com 2023-01-10 18:54 出处:网络
I\'ve开发者_Python百科 been searching for a global postcode based regex but not found one. Anyone know of one that exists?Not sure if this really makes sense to try to test for, I think it would be:

I've开发者_Python百科 been searching for a global postcode based regex but not found one. Anyone know of one that exists?


Not sure if this really makes sense to try to test for, I think it would be: 0-18 characters which can contain: 0-9 + the basic Latin alphabet + spaces, hyphens, parentheses and a Cyrillic letter.

And I'm not at all sure that even that would cover all possibilities.

0

精彩评论

暂无评论...
验证码 换一张
取 消