Test, validate and match regular expressions
This regular expression is designed to match Discover credit card numbers. It specifically looks for 16-digit sequences starting with the typical Discover prefixes '6011' or '65' followed by two digits. The pattern accommodates numbers formatted with spaces or hyphens between digit groups (e.g., 6011-1234-5678-9012), as well as continuous strings of digits without any separators. It is highly useful for payment validation forms and sensitive data extraction tasks.