United Kingdom Postcode Macro

Applies to LoadComplete 4.97, last modified on May 20, 2019

Description

The United Kingdom Postcode macro is used to insert United Kingdom postcodes into strings generated with the Custom String generator.

The macro is an analog of the United Kingdom Postcode data generator.

Syntax

The macro is specified using the following regular expression:

[A-Z][0-9] [0-9][A-Z]{2}

You can change this regular expression if necessary. For more information on the syntax of regular expressions, see Supported Regular Expressions.

Parameters

The macro has no parameters.

Examples

The following examples demonstrate how to use the United Kingdom Postcode macro:

  • [A-Z][0-9] [0-9][A-Z]{2}

    This regular expression specifies postcodes used in the United Kingdom.

  • [A-Z][1-9] [1-9][A-Z]{2}

    This regular expression specifies United Kingdom postcodes that do not contain zeros.

Remarks

See Also

Macro Reference
Custom String Generator Rules
Custom String Generator
Custom-String Generator - Supported Regular Expressions
United Kingdom Postcode Generator
Using Data Generators
Generating Values

Highlight search results