Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Anyone have a regex for credit card validation, that also accepts Dankort?
Maybe a prof regex guy can extend this pattern:
/^((4\d{3})|(5[1-5]\d{2}))(-?|\040?)(\d{4}(-?|\040?)){3}|^(3[4,7]\d{2})(-?|\040?)\d{6}(-?|\040?)\d{5}/
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Dankort validering
Hi,
Anyone have a regex for credit card validation, that also accepts Dankort?
Maybe a prof regex guy can extend this pattern:
/^((4\d{3})|(5[1-5]\d{2}))(-?|\040?)(\d{4}(-?|\040?)){3}|^(3[4,7]\d{2})(-?|\040?)\d{6}(-?|\040?)\d{5}/
is working on a reply...