Brian Dunning's FileMaker Custom Functions

ValidateUKPostcode

UK Postcode Validation

  Average rating: 4.6 (25 votes) Log in to vote

Thomas Seidler   Thomas Seidler
HarmlessWise
http://www.harmlesswise.com/it

Share on Facebook Share on Twitter

  Sample input:
ValidateUKPostcode( "WC1A 1AA")
ValidateUKPostcode( "XX1 Y8A")
  Sample output:
1
0

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Validates UK postcode by crude rule base provided in Wikipedia

[updated to make sure it worked!! :)]

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.