How might we improve credit card filtering? #26
stevepolitodesign
started this conversation in
Ideas
Replies: 1 comment
-
I think the best solution (for now) is either
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This regex only matches 16-digit credit cards but will miss valid 15-digit American Express cards and 14-digit Diners Club cards. Consider using a more comprehensive pattern like /\b[3456]\d{13,15}\b/ or separate patterns for different card types.
Originally posted by @Copilot in #9 (comment)
Beta Was this translation helpful? Give feedback.
All reactions