Questions tagged [postal-code]

A postal code is a series of letters and/or digits which is useful to identify the a particular region within a postal address. Once postal codes were introduced, other applications became possible.

A postal code is a series of letters and/or digits which is useful to identify the a particular region within a postal address. Once postal codes were introduced, other applications became possible.

In February 2005, 117 of the 190 member countries of the Universal Postal Union had postal code systems. Countries that do not have national systems include Ireland and Panama. Although Hong Kong and Macau are now Special Administrative Regions of China, each maintains its own long-established postal system, which does not utilize postal codes for domestic mail, and no postal codes are assigned to Hong Kong and Macau. Mail between Hong Kong, Macau and mainland China is treated as international.

399 questions
-1
votes
2 answers

How to extract only cells which contain a letter AND a number in Excel?

I have a series of addresses from which I need to extract postal codes.The data is very sloppily formatted (not separated, some with spacings some without etc..) meaning the only way I can think to extract the postcodes is to create a column to…
MyFamily
  • 145
  • 8
-1
votes
5 answers

HTML Input field value set by AJAX and catch that event

I have field in my html, and some third-party service will set it's value. How could I catch that event when the field value is changing?
Jedi Dula
  • 63
  • 1
  • 10
-1
votes
1 answer

I need to remove the zip/postal code field in prestashop

I want to remove the zip/postal code field in the registration form in prestashop. Can some one show where I can find the code (which folder) and which lines need to be removed. In ecuador postal codes are not used... Thanks! I use Prestashop…
Rik
  • 11
  • 1
  • 2
-1
votes
1 answer

Cleaning postcode variable in Stata

I am currently cleaning a dataset with postcodes to Geocode them into ArcMAP. Currently, the postcodes have been cleaned to remove all blank spaces (leading, trailing, in between, etc,). What I would like is to insert a blank space before the last…
Exodia16
  • 177
  • 2
  • 6
  • 14
-1
votes
3 answers

PHP Postcode Checker

I'm looking to create a basic postcode checker for a small business with a few stores across Australia. I just want the customer to input their postcode, and based on that postcode they would be redirected to their relevant local web site with local…
Ben Green
  • 41
  • 1
  • 1
  • 11
-1
votes
1 answer

Hyphen in Postal Codes and Numbers

How do I automatically insert a hyphen in my input postal code form? Postal Code example: 00000 - 000 Phone number example: 5555 - 5555 I need it to be formatted without having to typing the hyphen in it. I appreciate any help!
Anna
  • 469
  • 1
  • 6
  • 20
-1
votes
2 answers

php version a javascript function...(postcode validation)

I am looking for a way to achieve this in PHP... var newPostCode = checkPostCode (document.getElementById('Postcode').value); if (newPostCode) { document.getElementById('Postcode').value = newPostCode; return true; } else alert…
andy_baz
  • 1
  • 1
-1
votes
1 answer

Postgresql - Domain for Canadian Postal Code

I am trying to implement a domain to check for proper postal codes for Canada. I wrote the following but i get a constraint error. Can you please tell me where i may be wrong? i would really appreciate it. CREATE DOMAIN can_postal_code varchar(6)…
ueg1990
  • 1,003
  • 2
  • 19
  • 39
-1
votes
1 answer

Postcode / Page Finder using HTML / PHP

I need to create a simple postcode / page finder for a site where a user will enter their postcode and be redirected to a page based on whether or not that location is covered by the company. Basically the same as used on this site:…
Philip Benton
  • 119
  • 1
  • 4
-2
votes
1 answer

RegEx for matching Germany or Austria or CH Postcodes

It is about my site, it is a ad portal and 3 geodata are installed in the system: Germany, Switzerland and Austria. When I look for an advertisement in Germany, everything works correctly, I'm looking for zip code 68259 and a radius of 30 km. The…
-2
votes
2 answers

PHP - UK Postcode only return sector

I'm trying to write a regex function that will return the sector of a postcode. The user could type the following postcodes: WA14 5 WA12 5GJ I need the regex just to return the sector of the postcode. I've tried the following but it doesn't…
WebDevB
  • 492
  • 2
  • 7
  • 25
-2
votes
1 answer

php get the first part of postcode

I need to extract the first part of postcode for search calculation using a database. Any ideas?! I need this to implement a search module in the site, which looks out for some relevant information according to the post code. But the database which…
Maverick
  • 2,738
  • 24
  • 91
  • 157
-2
votes
2 answers

Check / match string against partial strings in array

I am trying to match a full UK postcode against a partial postcode. Take a users postcode, i.e g22 1pf, and see if there's a match / partial match in the array / database. //Sample data $postcode_to_check= 'g401pf'; //$postcode_to_check=…
Raymie
  • 109
  • 1
  • 9
-2
votes
3 answers

Implementing an address lookup with Google Geocoding API (or similar)

I'd like to add a feature to my website where a customer can enter their postcode, and it automtaically looks up their address with either Google Geocoding or an opensource / Bing equivalent. Has anybody got any sample code or know a good guide…
Darren
  • 7
  • 1
  • 1
  • 3
-2
votes
1 answer

Find for all those records having same Last Name and same Postcode

I need a SQL script to find for all those records in a database having the same Last Name and the same Postcode For example: first_Name Last_Name Postcode Nathan Yorke SY3 0NN Calum Yorke SY3 0NN Thanks a lot
DanMan
  • 1
1 2 3
26
27