Build, test, and debug regular expressions
Validates UK postcodes including full formats (e.g., 'SW1A 1AA', 'M1 1AE', 'W1A 0AX') and the special Girobank code 'GIR 0AA', plus partial outward-only codes (e.g., 'SW1A'). It enforces official Royal Mail rules: Q/V/X excluded from leading letters, final inward letters exclude C/I/K/M/O/V, and an optional space separates outward and inward parts. With case-insensitive and multiline flags, it's ideal for validating British addresses in forms, parsing postal data, and cleaning address datasets.