Test, validate and match regular expressions
This regex matches flight numbers, consisting of an airline code (2-3 alphanumeric characters with specific patterns) followed by a flight number (1-4 digits, optionally with a letter suffix). It captures common formats like AA123, BA4567, UA89C, or 9W456 used in aviation booking systems, travel websites, and flight tracking applications. The pattern validates both IATA and ICAO style flight identifiers.