Test, validate and match regular expressions
Matches PaySafeCard (PSC) PIN codes: a 16-digit code that always starts with 0, split into four groups of four digits. Hyphens between groups are optional (via empty alternations), so both 0123456789012345 and 0123-4567-8901-2345 are accepted. Commonly used for payment form validation or extracting paysafecard codes from text.