This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

System patterns

The tables below list the standard patterns supplied with Snap 11.

For each pattern there is

Patterns for literals

Name

Result

 

email address

 

Standard email address

geo unavailable

The error text giving the reason there is no geo-location

System message when geolocation co-ordinates are unavailable

geolocation

The current location using the WGS84 standard

Geo-location co-ordinates

lower case

 

Lower case text

phone number US

 

Standard 10 digit US phone number

postal code Canada

 

Canadian postal code

postcode UK

 

UK postcode

upper case

 

Upper case text

zip + 4 code US

 

US 5 digit ZIP + 4 code

zip code US

 

US 5 digit ZIP code

zip code US (any)

 

US 5 digit ZIP or 5 digit + 4 ZIP

Patterns for dates

date

 

date in US or UK format

date in words

 

Worded form of a date

date uk

 

UK date

date us

 

US date

DDMMYYYY

imposes / separator instead of . or -

Date in DD/MM/YYYY format

MMDDYYYY

imposes / separator instead of . or -

Date in MM/DD/YYYY format

Patterns for quantities

currency

 

Financial amount possibly with currency symbol

currency europe

Quantity with euro sign removed

Financial amount possibly with euro sign

currency uk

Quantity with pound sign removed

Financial amount possibly with pound sign

currency us

Quantity with dollar sign removed

Financial amount possibly with dollar sign

decimal number

 

Decimal number

decimal number with commas

 

Decimal number with comma seators marking thousands

geo accuracy

The geo-location accuracy in meters

accuracy extracted from geolocation co-ordinates

geo altitude

The geo location above sea level in meters

altitude extracted from geolocation co-ordinates

geo latitude

 

latitude extracted from geolocation co-ordinates

geo longitude

 

longitude extracted from geolocation co-ordinates

number with k

 

Number with a k (thousands) suffix

number with m

 

Number with a m (millions) suffix

number with suffix

 

Number possibly with a k or m suffix

ordinal

 

Number followed by st, nd, rd, th etc

small worded integer

 

Small integer number that may be expressed in (English) words

whole number

 

Whole number with no decimal places

whole number with commas

 

Number with comma separators marking thousands

Patterns as components

The following table of patterns can be used to build your own patterns, but cannot be used directly in variable details or as filters.

Name

Form

Label

alphanumeric

other patterns only

A letter or a digit

any

other patterns only

Any character

digit

other patterns only

A single digit

letter

other patterns only

A single letter

non-alphanumeric

other patterns only

Anything except a letter or a digit

non-digit

other patterns only

Anything except a digit

non-letter

other patterns only

Anything except a letter

non-space

other patterns only

Anything except a space character

space

other patterns only

Single space character

See Also

What a pattern consists of