Build, test, and debug regular expressions
This regex matches common credit card numbers, including MasterCard (starting 51-55), Diners Club (36, 34, 37), Visa (4), and formatted variants with spaces or dashes. The negative lookbehind prevents matching numbers that are part of longer digit sequences. Useful for validating credit card input in forms, extracting card numbers from text, or highlighting potential payment information.