Build, test, and debug regular expressions
This regular expression matches Discover credit card numbers, supporting both 16-digit contiguous formats and formats separated by spaces or hyphens. It specifically looks for the standard Discover Bank Identification Numbers (BINs), which begin with 6011 or 65 followed by two digits. It is useful for form validation, payment processing systems, and data extraction in financial applications.