Regular Expressions 101

Community Patterns

IATA CUPPS Workstation name

0

Regular Expression
PCRE (PHP <7.3)

/
^(?<airportCode>[A-Z0-9]{3})(?<providerCode>[A-Z0-9])(?<terminalCode>[A-Z0-9])(?<workstationCode>[A-Z0-9]{7})$
/
gm

Description

1 3 AN IATA Airport or IATA City Code. For test-bed nodes, provider specific code. 2 1 AN Provider code : - A ARINC - B IBS - C Ink Aviation - D BagDrop Systems - E Edge Airport - I AirIT - K IIAC and Asiana IDT - R RESA - S SITA - T Travelsky - U Ultra 3 1 AN If testbed node, set to \Z", otherwise use any character except for \Z". 4 7 AN Additional free-form characters. Provider- and/or installation specific. 5* 2 AN Device type code from Table 2.3 on page 12 6* 1 N Device Index. Provider- and/or installation specific.

Submitted by anonymous - 5 years ago